diff options
author | Steve Bennett <steveb@workware.net.au> | 2024-08-27 23:42:03 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2024-08-28 11:59:05 +1000 |
commit | 0bab3745bb1abcea2b1c3210ac7ddc97975608d1 (patch) | |
tree | 29a963825af2ac243247d4378c774f2e8e0643c4 /jim-json.c | |
parent | 590ceb4a2f220f4ef3e07d7819858204590e5718 (diff) | |
download | jimtcl-0bab3745bb1abcea2b1c3210ac7ddc97975608d1.zip jimtcl-0bab3745bb1abcea2b1c3210ac7ddc97975608d1.tar.gz jimtcl-0bab3745bb1abcea2b1c3210ac7ddc97975608d1.tar.bz2 |
json::decode: run parser in strict mode
To avoid invalid JSON causing core dumps.
Minor changes to the jsmn parser to still allow
Infinity and NaN.
Fix some tests that didn't use strictly correct JSON.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-json.c')
0 files changed, 0 insertions, 0 deletions