doc: Correct jsonpath string literal escapes description

Peter Eisentraut <peter@eisentraut.org>

Commit: b51dff73fa7361259aeaa2c1c3625b17cfd75d09
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2024-04-24T09:37:25Z
Releases: 13.15
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