=doc #16812 link community extension to HTTP for other (JSON) marshallers

This commit is contained in:
Johannes Rudolph 2015-07-21 14:08:14 +02:00
parent 4aca56b034
commit 62a43d27bb
3 changed files with 21 additions and 5 deletions

View file

@ -15,4 +15,4 @@ To use the high-level API you need to add a dependency to the ``akka-http-experi
handlers
marshalling
testkit
json-jackson-support
json-support

View file

@ -1,10 +1,22 @@
.. _json-support-java:
Json Support
============
akka-http provides support to convert application-domain objects from and to JSON using jackson_ in an
extra artifact.
Integration with other JSON libraries may be supported by the community.
See `the list of current community extensions for Akka HTTP`_.
.. _`the list of current community extensions for Akka HTTP`: http://akka.io/community/#extensions-to-akka-http
.. _json-jackson-support-java:
Json Support via Jackson
========================
------------------------
akka-http provides support to convert application-domain objects from and to JSON using jackson_. To make use
of the support module, you need to add a dependency on `akka-http-jackson-experimental`.
To make use of the support module, you need to add a dependency on `akka-http-jackson-experimental`.
Use ``akka.http.javadsl.marshallers.jackson.Jackson.jsonAs[T]`` to create a ``RequestVal<T>`` which expects the request
body to be of type ``application/json`` and converts it to ``T`` using Jackson.