You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by ept <gi...@git.apache.org> on 2012/09/06 05:09:19 UTC

avro pull request: Don't generate invalid JSON for unprintable chars

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 <ma...@rapportive.com>
Date:   2012-09-05T20:07:43-07:00

    Don't generate invalid JSON for unprintable chars

----