2 JSON in Oracle Database
Oracle Database supports JSON data natively with relational database features, including transactions, indexing, declarative querying, and views.
This documentation covers the use of database languages and features to work with JSON data that is stored as such in Oracle Database or is generated from relational data. In particular, it covers how to use SQL and PL/SQL with JSON data.
JSON data generated from relational data can be made accessible as JSON documents through database views.
Use of JSON data by document-centric client applications to create, read, update, and delete JSON documents is not covered in this documentation. That information is provided in the documentation for Oracle Database API for MongoDB and Simple Oracle Document Access (SODA). Using these document APIs your applications can directly create, read, update, and delete JSON documents stored in JSON collection tables or supported by JSON collection views, including JSON-relational duality views.
_________________________________________________________
- Overview of JSON in Oracle Database
Oracle Database supports JSON data natively with relational database features, including transactions, indexing, declarative querying, and views. JSON data can be stored in the database, indexed, and queried without any need for a schema that defines the data. You can optionally require JSON data to respect a JSON schema. - JSON Data Type
SQL data typeJSON
represents JSON data using a native binary format, OSON, which is Oracle's optimized format for fast query and update in both Oracle Database server and Oracle Database clients. You can createJSON
type instances from other SQL data, and conversely. - Oracle Database Support for JSON
Oracle Database support for JavaScript Object Notation (JSON) is designed to provide the best fit between the worlds of relational storage and querying JSON data, allowing relational and JSON queries to work well together. Oracle SQL/JSON support is closely aligned with the JSON support in the SQL Standard.
See Also:
-
Overview of JSON-Relational Duality Views in JSON-Relational Duality Developer's Guide
-
Overview of Oracle Database API for MongoDB in Oracle Database API for MongoDB
-
Overview of SODA in Oracle Database Introduction to Simple Oracle Document Access (SODA)
Parent topic: JSON Data and Oracle Database