avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AVRO-56) use Jackson to generate Json
Date Fri, 19 Jun 2009 20:48:07 GMT

     [ https://issues.apache.org/jira/browse/AVRO-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doug Cutting updated AVRO-56:
-----------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this.

> use Jackson to generate Json
> ----------------------------
>
>                 Key: AVRO-56
>                 URL: https://issues.apache.org/jira/browse/AVRO-56
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 1.0
>
>         Attachments: AVRO-56.patch
>
>
> The java implementation currently generates JSON by hand.  Before default values this
was okay, since Avro names do not permit characters that must be escaped.  But strings in
default values must be properly escaped.  Using Jackson to generate JSON would guarantee proper
escaping.  This would also simplify JSON generating code, making it easier to maintain.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message