summaryrefslogtreecommitdiffstats
path: root/src/json.h
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-08-06 16:18:17 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-08-06 16:50:55 +0200
commit6bc71b201dafd552a46b8e9ab5ee8f1ee5577c17 (patch)
treef0e49bb81d06e7b2e691a42ddd885c3360019f47 /src/json.h
parenta675dbb083af5bd64e33097754042cf54fef8b8b (diff)
rest: use JSON_ENSURE_ASCII in json dumps
escape non-ascii characters in json otherwise ogclient len() and Content-Length: report a mismatch when utf-8 representation is used in any of the string fields. For consistency, enable this flag too for json dumps that are consumed by ogcp and ogcli.
Diffstat (limited to 'src/json.h')
0 files changed, 0 insertions, 0 deletions