aboutsummaryrefslogtreecommitdiff
path: root/docs/json.rst
diff options
context:
space:
mode:
authoradamw <adam@warski.org>2017-10-19 13:37:14 +0200
committeradamw <adam@warski.org>2017-10-19 13:37:14 +0200
commitd474fae2bdca260d6c63dedb3f8f1b9abe48cbbc (patch)
tree3aa7a906f4b1d6909edc237add78fff664dab19d /docs/json.rst
parent32cdfd5431290c673b233a6b042e74509547318a (diff)
downloadsttp-d474fae2bdca260d6c63dedb3f8f1b9abe48cbbc.tar.gz
sttp-d474fae2bdca260d6c63dedb3f8f1b9abe48cbbc.tar.bz2
sttp-d474fae2bdca260d6c63dedb3f8f1b9abe48cbbc.zip
Setting version to 1.0.0v1.0.0
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 aecf925..7860e9d 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.21"
+ "com.softwaremill.sttp" %% "circe" % "1.0.0"
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.21"
+ "com.softwaremill.sttp" %% "json4s" % "1.0.0"
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``).