[
https://issues.apache.org/jira/browse/AVRO-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12722885#action_12722885
]
Matt Massie commented on AVRO-58:
---------------------------------
Created AVRO-60 assigned to myself to make sure this issue is tracked
(shouldn't take more than an hour or so).
bq. I was suggesting that it should print it to a string, then read the
original file into a string [ ... ]
Good idea. Right now, the JSON printer (JSON_print()) is used solely for
debugging.
There are many things I could add to the JSON parser but I wanted to keep it
light for now and let my AVRO schema work inform where I focus my JSON work.
When I start working on the JSON import/export function I'm going to replace
JSON_print() with code that uses my I/O abstraction anyway (so that I can write
JSON to files, sockets or disk) instead of using a FILE pointer. I'm sure I'll
be adding many more JSON unit tests as development moves forward.
> 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.