Be clearer about when jsonapi's need_escapes is needed

Most operations beyond pure json parsing need to set need_escapes to
true to get access to field names and string scalars. Document this
fact more explicitly.

Slightly tweaked patch from:

Author: Corey Huinker <corey.huin...@gmail.com>

Discussion: 
https://postgr.es/m/CADkLM=c49vkfg2+a8ubsuetagejuakzxca6srxa8kdwhjx3...@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ea5ff5833c7d4ae727a5acfc590c848b520775d0

Modified Files
--------------
src/common/jsonapi.c         |  6 +++++-
src/include/common/jsonapi.h | 15 +++++++++++++--
2 files changed, 18 insertions(+), 3 deletions(-)

Reply via email to