doc: Correct jsonpath string literal escapes description

Peter Eisentraut <peter@eisentraut.org>

Commit: 630ed7ec4d3633130d3e8466e78d8d205dbd64a7
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2024-04-24T09:36:28Z
Releases: 14.12
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