Don't generate invalid JSON for unprintable chars #10

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

ept commented Sep 6, 2012

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.

Contributor

cutting commented Sep 13, 2012

This is a duplicate of AVRO-851. Thanks for alerting me that this issue had never been fixed. I just committed that patch.

In the future, please use https://issues.apache.org/jira/browse/AVRO to report bugs in Avro.

Contributor

ept commented Sep 13, 2012

Thank you Doug!

ept closed this Sep 13, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment