Chapter 13: Introduction to JSON and ORM
In this chapter, we will learn how to work with the built-in libraries in V, namely json
and orm
. When building web services such as RESTful APIs, it is essential to understand the content type that you are exchanging with the clients or other RESTful APIs. JavaScript Object Notation (JSON) has become the go-to format for modern applications to exchange data. In this chapter, we will briefly introduce JSON and how to work with it in V.
When building data-driven applications, Object Relational Mappers (ORMs) become a crucial part of establishing communication between the world of objects and the world of relational databases. Through this chapter, we will introduce the built-in library known as orm
, which ships along with the V installer.
We will be covering the following topics:
- Getting started with JSON
- Learning ORM
By the end of this chapter, you will have learned about the built-in json
and orm
V libraries. Understanding...