Gregory 2013-06-19, 21:34
Douglas Creager 2013-06-25, 13:08
Gregory 2013-06-25, 14:48
Douglas Creager 2013-06-25, 15:10
> 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.