O'Reilly logo

RESTful Web Services with Scala by Jos Dirksen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required