akka/akka-http

no examples of FromRequestUnmarshaller in docs or codebase

Aperta

#1325 aperta il 4 ago 2017

 (5 commenti) (0 reazioni) (0 assegnatari)Scala (598 fork)batch import
1 - triagedhelp wantedsmallt:docst:http:marshalling

Metriche repository

Star
 (1311 stelle)
Metriche merge PR
 (Merge medio 1g 10h) (2 PR mergiate in 30 g)

Descrizione

Issue by kornelc Saturday Jul 16, 2016 at 22:56 GMT Originally opened as https://github.com/akka/akka/issues/20972


I'm trying to extract a case class with json4s from the entity (form submission) and realized that there are no examples anywhere on how to create these unmarshallers. The doc just has 'implicit val orderUM: FromRequestUnmarshaller[Order] = ???' as an example which doesn't help much unless somebody is already familiar with unmarshallers, which I am not at this point. It would be great to include a case class unmarshalling example in the docs.

Guida contributor