akka/akka-http

no examples of FromRequestUnmarshaller in docs or codebase

Aberta

#1.325 aberto em 4 de ago. de 2017

 (5 comentários) (0 reação) (0 responsável)Scala (598 forks)batch import
1 - triagedhelp wantedsmallt:docst:http:marshalling

Métricas do repositório

Stars
 (1.311 estrelas)
Métricas de merge de PR
 (Mesclagem média 1d 10h) (2 fundiu PRs em 30d)

Description

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.

Guia do colaborador