Generating JSON documents from relational data is a common requirement, and Oracle Database offers the necessary tools. This chapter looks at these possibilities in SQL and PL/SQL.
There is also information about working with JSON documents in PL/SQL, like extracting data and making changes to a JSON document.