avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Douglas Creager <doug...@creagertino.net>
Subject Re: json2avro
Date Tue, 25 Jun 2013 15:10:44 GMT
> 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 [1],
but there hasn't been any movement on it in a year, unfortunately.

[1] https://github.com/akheron/jansson/pull/63

View raw message