Chapter 7. JSON, HATEOAS, and Documentation

In this last chapter, we're going to look a bit deeper into a couple of important parts of REST. We'll start with a more in-depth explanation of the different JSON libraries that are available, and after that, we'll explore the HATEOAS concept and explain how you can apply that principle to the frameworks explained in this book.

Let's start with JSON.

Working with JSON

There are many different JSON frameworks available for Scala. In this chapter, we'll look at four of the most important and most used frameworks. The following table gives a short introduction to the frameworks that we'll use:

Framework

Description

Argonaut

Argonaut is an extensive JSON library that offers a functional approach to working ...

Get RESTful Web Services with Scala now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.