> Sorry I wasn't clear. Jansson uses null-terminated strings. The docs
> state "Normal null terminated C strings are used, so JSON strings may
> not contain embedded null characters." I've tested it and indeed, they
> cannot, Jansson cannot parse a string like "abc\u0000def".
Oh yes, NUL bytes in a string, gotcha. You're right, that's my least
favorite thing about Jansson. There's an open issue with a patch ,
but there hasn't been any movement on it in a year, unfortunately.