avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Mitchener (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-462) C implementation does not accept "simple" primitive schemas
Date Tue, 16 Mar 2010 04:50:27 GMT

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

Bruce Mitchener commented on AVRO-462:
--------------------------------------

The roadmap (http://wiki.github.com/akheron/jansson/roadmap) for Jansson 1.3 indicates that
they want to support this ... wonder how hard it would be to contribute the required support
to Jansson vs changing to yajl?


> C implementation does not accept "simple" primitive schemas
> -----------------------------------------------------------
>
>                 Key: AVRO-462
>                 URL: https://issues.apache.org/jira/browse/AVRO-462
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.3.0
>            Reporter: Jeff Hodges
>
> Schemas like "null", "int", "string", etc. (instead of the longer, {type: "null"}, {type:
"int"}, etc.) are not accepted by the C implementation.
> This seems to be a problem with the jansson JSON library used. It (strictly correctly)
says that simple strings are not JSON objects.
> Switching to the yajl[1] library would fix this as yajl accepts "subsets" of JSON like
strings, numbers and so on. 
> [1] http://lloyd.github.com/yajl/

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