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] Commented: (AVRO-58) JSON Parser for C
Date Mon, 22 Jun 2009 22:44:07 GMT

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

Doug Cutting commented on AVRO-58:
----------------------------------

> I planned to include the fix in subsequent patches [ ... ]

That's fine.  Maybe file the issue in Jira now, assigned to you and depending on this issue?

> I found it too verbose during the unit test [ ... ]

I was suggesting that it should print it to a string, then read the original file into a string,
and compare the strings for equality.  Yes, you'd need to make sure that your test JSON files
use the same whitespace convention as your printer for this to work, but that should not be
too hard.  The point is to not just test the parser but also to test that the printer generates
the correct, parseable output.

> JSON Parser for C
> -----------------
>
>                 Key: AVRO-58
>                 URL: https://issues.apache.org/jira/browse/AVRO-58
>             Project: Avro
>          Issue Type: New Feature
>          Components: c
>            Reporter: Matt Massie
>         Attachments: AVRO-58.patch
>
>
> Embedded JSON Parser for C
> * Re-entrant and thread safe
> * Supports multiple parsers running at the same time
> * Uses APR memory pools for memory management
> * No dependencies on yacc/bison/flex/etc
> * Creates a light-weight DOM of JSON text
> * Completely written by me so there's no licensing issues (using the public domain lemon
code generator)

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