doc: Correct jsonpath string literal escapes description

Peter Eisentraut <peter@eisentraut.org>

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