doc: Correct jsonpath string literal escapes description

Peter Eisentraut <peter@eisentraut.org>

Commit: b279e37015bba58f2e9752f177a6a4f4db2b1814
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2024-04-24T09:31:47Z
Releases: 17.0
doc: Correct jsonpath string literal escapes description

The paragraph describing the JavaScript string literals allowed in
jsonpath expressions unnecessarily mentions JSON by erroneously
listing \v as allowed by JSON and mentioning the \xNN and \u{N...}
backslash escapes as deviations from JSON when in fact both are
accepted by ECMAScript/JavaScript.  Fix this by only referring to
JavaScript.

Author: Erik Wienhold <ewie@ewie.name>
Discussion: https://www.postgresql.org/message-id/flat/1EB17DF9-2636-484B-9DD0-3CAB19C4F5C4@justatheory.com

Files

PathChange+/−
doc/src/sgml/json.sgml modified +7 −8

Documentation touched

Discussion