doc: Correct jsonpath string literal escapes description

Peter Eisentraut <peter@eisentraut.org>

Commit: a7ed15f3ab8160d627e8281bd62a048a4fca371f
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2024-04-24T09:35:10Z
Releases: 16.3
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