Hi,
There is an issue in Avro's trunk when enconding a GenericData as JSON
in GenericData#writeEscapedString()[1].
In the default clause, it must be the hexadecimal value of the character
that must be written and not the string itself, otherwise the built JSON
string is not valid.
I've created a patch (with a test) in GitHub and send a pull request[2]
to your Git repo.
Do you accept such patch or should I submit through Apache JIRA instead?
thanks,
jeff
[1]
http://svn.apache.org/viewvc/avro/trunk/lang/java/avro/src/main/java/org/apache/avro/generic/GenericData.java?view=markup
[2] https://github.com/apache/avro/pull/2/files