postgresql_16:3.6.16 JSON Functions and Operators
PostgreSQL 16 > The SQL Language > Functions and Operators > JSON Functions and Operators
This section describes: functions and operators for processing and creating JSON data the SQL/JSON path language
To provide native support for JSON data types within the SQL environment, PostgreSQL implements the *SQL/JSON data model*. This model comprises sequences of items. Each item can hold SQL scalar values, with an additional SQL/JSON null value, and composite data structures that use JSON arrays and objects. The model is a formalization of the implied data model in the JSON specification RFC 7159.
SQL/JSON allows you to handle JSON data alongside regular SQL data, with transaction support, including: Uploading JSON data into the database and storing it in regular SQL columns as character or binary strings. Generating JSON objects and arrays from relational data. Querying JSON data using SQL/JSON query functions and SQL/JSON path language expressions.
To learn more about the SQL/JSON standard, see (see sqltr-19075-6). For details on JSON types supported in PostgreSQL, see (see postgresql_16:3.5.14).
Subsections
- postgresql_16:3.6.16.1 Processing and Creating JSON Data
- postgresql_16:3.6.16.2 The SQL/JSON Path Language