Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Avro >> mail # user >> json2avro

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