© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
B. Shaik, D. K. ChemuduruProcedural Programming with PostgreSQL PL/pgSQLhttps://doi.org/10.1007/978-1-4842-9840-4_7

7. Handling JSON

Baji Shaik1   and Dinesh Kumar Chemuduru2
(1)
Texas, TX, USA
(2)
Andhra Pradesh, India
 

In the previous chapter, we talked about arrays and how to use them in PL/pgSQL with some examples. In this chapter, we will discuss about JSON data and how to use it in PostgreSQL. We will cover different use cases where JSON data is useful and built-in operators and functions which are used to load and query JSON data. We will go through a few examples of JSON with PL/pgSQL programming.

What Is JSON?

JSON stands for JavaScript Object Notation ...

Get Procedural Programming with PostgreSQL PL/pgSQL: Design Complex Database-Centric Applications with PL/pgSQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.