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

ASF subversion and git services commented on AVRO-2276:
-------------------------------------------------------

Commit bbea1cec3ed6ffae631b4c0d975639a098687ab4 in avro's branch 
refs/heads/master from [~iemejia]
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=bbea1ce ]

AVRO-2276: Escape Map keys in GenericData.toString to generate valid JSON


> 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
(v7.6.3#76005)

Reply via email to