avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alfonso Nishikawa (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-1613) Support for non-standard JSON when reading schemas
Date Wed, 18 Mar 2015 20:43:40 GMT

     [ 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)

Mime
View raw message