Hi John,

On Monday, July 27, 2015 at 11:00:57 AM UTC+2, [email protected] wrote:
>
> or am I supposed to use Marshallers.toEntity() but this seems quite a lot 
> of work 
>

Yes, to create custom marshallers you would need to use one of the methods 
in `Marshallers`, to create custom unmarshallers you would use one of the 
methods in `Unmarshallers`. 

>From your other topic, I see that you try to deal with json data. The 
Jackson support (while written in Scala) is supposed to be used from Java. 
See this example about how to make use of it:

https://github.com/akka/akka/blob/release-2.3-dev/akka-http-tests/src/main/java/akka/http/javadsl/server/examples/petstore/PetStoreExample.java#L21

HTH
Johannes

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to