akka/akka-http

Can we provide implicit to make Marshal JsValue => Message work?

Open

#2,027 opened on May 22, 2018

View on GitHub
 (1 comment) (3 reactions) (0 assignees)Scala (598 forks)batch import
1 - triagedhelp wantednice-to-have (low-prio)t:http:marshalling

Repository metrics

Stars
 (1,311 stars)
PR merge metrics
 (Avg merge 1d 10h) (2 merged PRs in 30d)

Description

Likely we could provide another marshaller to make it easier to render TextMessage when one has defined a jsonFormat for a given type.

To enable: val outgoing = Marshal(myMsg).to[Message]

Contributor guide