You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Alfonso Nishikawa (JIRA)" <ji...@apache.org> on 2015/03/18 21:43:40 UTC
[jira] [Updated] (AVRO-1613) Support for non-standard JSON when
reading schemas
[ https://issues.apache.org/jira/browse/AVRO-1613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alfonso Nishikawa updated AVRO-1613:
------------------------------------
Attachment: AVRO-1613v1.patch
Uploaded !AVRO-1613v1.patch! enabling the following extensions:
* Allowed C/C++ style comments.
* Allowed unquoted field names.
* Allowed single quotes.
* Allowed escaping any character.
* Allowed unquoted control characters.
* Allowed numeric leading zeros.
I left out:
* Allow non-numeric numbers (NaN, +Infinity, -Infinity,...) as default values because I don't know how would that affect when creating instances with such values. I have seen that the builder creates them as text nodes, but I don't have enough insight.
> Support for non-standard JSON when reading schemas
> --------------------------------------------------
>
> Key: AVRO-1613
> URL: https://issues.apache.org/jira/browse/AVRO-1613
> Project: Avro
> Issue Type: Wish
> Components: java
> Reporter: Alfonso Nishikawa
> Priority: Minor
> Attachments: AVRO-1613v1.patch
>
>
> It would be good to:
> * Allow unquoted field names
> * Allow single quotes
> * Allow comments
> when reading a schema. The proper extensions ([shown here|http://wiki.fasterxml.com/JacksonFeaturesNonStandard]) of Jackson could be enabled in {{Schema$Parser.parse(JsonParser)}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)