diff options
author | adamw <adam@warski.org> | 2017-10-18 21:11:13 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-10-18 21:11:13 +0200 |
commit | 5cad10999978e3458f25cbb061f19eb09fb03ea9 (patch) | |
tree | b197a4b738614647e3fc8373e6992a3f3f19fd58 /docs/json.rst | |
parent | 378fabad555fc66c92085fdb0dbcb323167dd1e4 (diff) | |
download | sttp-5cad10999978e3458f25cbb061f19eb09fb03ea9.tar.gz sttp-5cad10999978e3458f25cbb061f19eb09fb03ea9.tar.bz2 sttp-5cad10999978e3458f25cbb061f19eb09fb03ea9.zip |
Updated docs
Diffstat (limited to 'docs/json.rst')
-rw-r--r-- | docs/json.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/json.rst b/docs/json.rst index 0d3a8ce..aecf925 100644 --- a/docs/json.rst +++ b/docs/json.rst @@ -10,7 +10,7 @@ Circe JSON encoding of bodies and decoding of responses can be handled using `Circe <https://circe.github.io/circe/>`_ by the ``circe`` module. To use add the following dependency to your project:: - "com.softwaremill.sttp" %% "circe" % "0.0.20" + "com.softwaremill.sttp" %% "circe" % "0.0.21" This module adds a method to the request and a function that can be given to a request to decode the response to a specific object:: @@ -35,7 +35,7 @@ Json4s To encode and decode json using json4s-native, add the following dependency to your project:: - "com.softwaremill.sttp" %% "json4s" % "0.0.20" + "com.softwaremill.sttp" %% "json4s" % "0.0.21" Using this module it is possible to set request bodies and read response bodies as case classes, using the implicitly available ``org.json4s.Formats`` (which defaults to ``org.json4s.DefaultFormats``). |