liveBook · Manning

Json path expression

A JSON path expression identifies locations in JSON data and can navigate, select, or filter objects and array elements.

How 2 Manning books explain it

100 SQL Server Mistakes and How to Avoid Them

A JSON path is an expression that identifies a location within a JSON document, including object properties and array elements.

How it is used
Locates JSON properties and array elements while generating, updating, or shredding JSON in SQL queries.
How deep it goes
Explains root notation, object hierarchy, array indexes, and nested-column mapping, but does not develop broader path syntax.
Examples
Uses an EmployeeAddress array containing employee identity and nested address fields.
What you can do after
Apply JSON paths via JSON_VALUE and OPENJSON to identify records, extract values, and return typed relational columns.

Read how 100 SQL Server Mistakes and How to Avoid Them explains json path expression →

Just Use Postgres!

SQL/JSON path language is a standardized language for navigating and filtering JSON data within SQL expressions.

How it is used
Retrieves and filters values in nested PostgreSQL JSON data for operational reports and targeted order queries.
How deep it goes
Builds paths from $, accessors, arrays, and filters, while deferring a complete treatment of every operator.
Examples
Demonstrates pizza-type counts, cheese-array queries, sausage filters, and chained conditions on custom pizzas.
What you can do after
Apply it via PostgreSQL JSONB functions to extract fields, inspect arrays, and filter multilevel JSON structures.

Read how Just Use Postgres! explains json path expression →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.