aboutsummaryrefslogtreecommitdiff
path: root/docs/json.rst
diff options
context:
space:
mode:
authoradamw <adam@warski.org>2017-10-18 21:11:13 +0200
committeradamw <adam@warski.org>2017-10-18 21:11:13 +0200
commit5cad10999978e3458f25cbb061f19eb09fb03ea9 (patch)
treeb197a4b738614647e3fc8373e6992a3f3f19fd58 /docs/json.rst
parent378fabad555fc66c92085fdb0dbcb323167dd1e4 (diff)
downloadsttp-5cad10999978e3458f25cbb061f19eb09fb03ea9.tar.gz
sttp-5cad10999978e3458f25cbb061f19eb09fb03ea9.tar.bz2
sttp-5cad10999978e3458f25cbb061f19eb09fb03ea9.zip
Updated docs
Diffstat (limited to 'docs/json.rst')
-rw-r--r--docs/json.rst4
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``).