You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Bruce Mitchener (JIRA)" <ji...@apache.org> on 2010/03/16 05:50:27 UTC

[jira] Commented: (AVRO-462) C implementation does not accept "simple" primitive schemas

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