GitHub user ept opened a pull request:
https://github.com/apache/avro/pull/10
Don't generate invalid JSON for unprintable chars
`GenericData.toString()` references the wrong variable, which causes it to
generate invalid JSON if an unprintable character appears in a string field.
This patch fixes it.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ept/avro patch-1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/avro/pull/10.patch
----
commit 4272a3332028583b2fa18b7cef2885f4341b2f9e
Author: Martin Kleppmann <[email protected]>
Date: 2012-09-05T20:07:43-07:00
Don't generate invalid JSON for unprintable chars
----