September 2021
Beginner
560 pages
10h 49m
English
In unit 7, you mastered how to represent asynchronous computations in Scala. In this unit you’ll discover how to serialize and deserialize data in JSON format and how to lazily represent side effects. In the capstone, you’ll complete the implementation of your quiz application by defining its business logic and HTTP API. In particular, you’ll learn about the following topics:
Lesson 48 shows you how to use a popular library called circe to convert a class into a JSON string and vice versa by defining JSON encoders and decoders.
Lesson 49 teaches you about lazy evaluation and how it differs from eager evaluation. You’ll see how by-name parameters behave differently from by-value ones. You’ll also discover how ...
Read now
Unlock full access