DaveGamble / cJSON

Ultralightweight JSON parser in ANSI C
MIT License
10.82k stars 3.22k forks source link

Add "valuestringlen" to handle null characters in "valuestring". #905

Open hexian000 opened 2 days ago

hexian000 commented 2 days ago

"\u0000" is valid in JSON strings. This patch allows encoding/decoding arbitrary UTF-16 sequences into string values.