avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-2276) GenericData.toString does not always generate valid JSON for Map datum
Date Wed, 28 Nov 2018 09:08:00 GMT

    [ https://issues.apache.org/jira/browse/AVRO-2276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16701566#comment-16701566

ASF GitHub Bot commented on AVRO-2276:

iemejia commented on issue #394: AVRO-2276: Escape Map keys in GenericData.toString to generate
valid JSON
URL: https://github.com/apache/avro/pull/394#issuecomment-442372701
   You are right, there is more than the fix because I could not validate the issue because
the build in windows was broken so I created an additional commit to fix the build. I can
create a new JIRA for this, just tell me your preferences.

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> GenericData.toString does not always generate valid JSON for Map datum
> ----------------------------------------------------------------------
>                 Key: AVRO-2276
>                 URL: https://issues.apache.org/jira/browse/AVRO-2276
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.9.0
>            Reporter: Ismaël Mejía
>            Assignee: Ismaël Mejía
>            Priority: Minor
> Avro represents data as json internally so it requires to escape the keys of the objects
(Maps) as mandated by https://tools.ietf.org/html/rfc8259
> I discover this while running a build on windows because of '\' characters. But it can
be easily reproduced on linux creating a file/dir with backspaces.

This message was sent by Atlassian JIRA

View raw message