JSONPath Query Language in Practice
In 2024 JSONPath finally got a formal standard, RFC 9535. This article explains the syntax, filter semantics, functions, and the historical differences among implementations.
Taking one value out of JSON or changing one field looks simple, but once standardized it becomes four specifications: JSONPath, JSON Pointer, JSON Patch, and Merge Patch.
5 articlesIn 2024 JSONPath finally got a formal standard, RFC 9535. This article explains the syntax, filter semantics, functions, and the historical differences among implementations.
Three short specs form a change protocol: Pointer locates, Patch edits precisely, Merge Patch merges partially. Choosing wrong hurts arrays and concurrency.
Recursive descent, slices and multi-condition filters are where JSONPath gets powerful and misused. Covers filter semantics, result shapes and library differences.
JSON Patch is only a change format; atomicity, idempotency and concurrency are still your job. Covers test preconditions, path escaping, rollback and ETag coordination.
JMESPath reshapes batches of objects more directly than JSONPath. This beginner guide covers syntax, projections, pipes, built-in functions and AWS CLI usage.