summaryrefslogtreecommitdiff
path: root/json-glib/json-glib-validate.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2013-10-26 20:43:36 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2013-10-27 22:43:18 +0000
commita40e07510208456eeb52776a5ab1d8eb90625fbc (patch)
tree7b37ca679202e71d36c2128804eeb05032208cf6 /json-glib/json-glib-validate.c
parente71d87eefe4fa51b9a391187c7b41d4c04333e02 (diff)
downloadjson-glib-a40e07510208456eeb52776a5ab1d8eb90625fbc.tar.gz
parser: Always perform UTF-8 validation
JSON is defined to be encoded using UTF-8, so we should not rely on the documentation saying so when parsing, but validate the input and eventually provide a recoverable parsing error.
Diffstat (limited to 'json-glib/json-glib-validate.c')
0 files changed, 0 insertions, 0 deletions