Circe is a library which helps handle JSON format data. You can easily decode a JSON HTTP response to a case class. If you are working on API service, probably you will use it to encode your model with JSON format, then return to the API consumer.
Docode
Now, let's decode an http response, JSON data looks like:
{"userId": 1,"postId": 1,"title": "Start FP in Scala","body": "This book means to be the first place when you try to learn Scala."}
io.circe.parser.decode(postString)
// result is:
// Right(Post(1, 1, "Start FP in Scala", "This book means to be the first place when you try to learn Scala."))
val post = Post(1, 1, "Start FP in Scala", "This book means to be the first place when you try to learn Scala.")
post.asJson.noSpaces
// result is:
// {"userId":1,"postId":1,"title":"Start FP in Scala","content":"This book means to be the first place when you try to learn Scala."}