diff options
author | adamw <adam@warski.org> | 2017-11-27 22:01:20 +0100 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-11-27 22:01:20 +0100 |
commit | da742e61a049f0474bdf341cb76b9ae0504569c2 (patch) | |
tree | af90a8e6026290f7dd20db5b30084739e5b84df5 /docs/json.rst | |
parent | 3aa9f9e3b5c2989416583be05420f1d6d31ddc97 (diff) | |
download | sttp-da742e61a049f0474bdf341cb76b9ae0504569c2.tar.gz sttp-da742e61a049f0474bdf341cb76b9ae0504569c2.tar.bz2 sttp-da742e61a049f0474bdf341cb76b9ae0504569c2.zip |
Setting version to 1.1.0v1.1.0
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 ea8e7d2..d194ece 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" % "1.0.6" + "com.softwaremill.sttp" %% "circe" % "1.1.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" % "1.0.6" + "com.softwaremill.sttp" %% "json4s" % "1.1.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``). |