[prev in list] [next in list] [prev in thread] [next in thread]
List: avro-dev
Subject: [jira] [Commented] (AVRO-895) JsonDecoder does not tolerate JSON records with different field order
From: "Tom White (Commented) (JIRA)" <jira () apache ! org>
Date: 2011-09-30 18:05:46
Message-ID: 1801268205.12321.1317405946450.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/AVRO-895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118241#comment-13118241 \
]
Tom White commented on AVRO-895:
--------------------------------
+1 looks good to me.
> JsonDecoder does not tolerate JSON records with different field order
> ---------------------------------------------------------------------
>
> Key: AVRO-895
> URL: https://issues.apache.org/jira/browse/AVRO-895
> Project: Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.5.4
> Reporter: Tom White
> Assignee: Thiruvalluvan M. G.
> Labels: patch
> Fix For: 1.6.0
>
> Attachments: AVRO-895-rev-2.patch, AVRO-895.patch, AVRO-895.patch
>
>
> Avro records are represented as JSON objects in the JSON encoding (according to the \
> Avro spec http://avro.apache.org/docs/1.5.4/spec.html#schema_record). The JSON spec \
> (http://www.json.org/) states that "A [JSON] object is an unordered set of \
> name/value pairs". However, the Java JsonDecoder fails to read a JSON object as an \
> Avro record if its fields are not in the same order as the schema.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: \
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more \
information on JIRA, see: http://www.atlassian.com/software/jira
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic