You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vxquery.apache.org by christina pavlopoulou <cp...@ucr.edu> on 2016/06/23 19:02:56 UTC

JSON parser

Hi,

I found this link [1] about sax based json parser. It gives some options 
about event based json parsers but I am not sure if this is what we are 
looking for. If you have any suggestions, it would be very helpful.

[1] 
http://stackoverflow.com/questions/4373233/is-there-a-saxparser-that-reads-json-and-fires-events-so-it-looks-like-xml

Thank you,
Christina

Re: JSON parser

Posted by Till Westmann <ti...@apache.org>.
Hi Christina,

I think that it would be worth to take a look at Jackson [2]. It seems 
to
perform ok [3] and it is Apache-licensed [4]. I haven’t looked at the 
API in
detail, but they do have a streaming API at the core and so this should 
work
for us.

Cheers,
Till

[2] https://github.com/FasterXML/jackson
[3] 
http://blog.takipi.com/the-ultimate-json-library-json-simple-vs-gson-vs-jackson-vs-json/
[4] http://wiki.fasterxml.com/JacksonLicensing

On 23 Jun 2016, at 21:02, christina pavlopoulou wrote:

> Hi,
>
> I found this link [1] about sax based json parser. It gives some 
> options about event based json parsers but I am not sure if this is 
> what we are looking for. If you have any suggestions, it would be very 
> helpful.
>
> [1] 
> http://stackoverflow.com/questions/4373233/is-there-a-saxparser-that-reads-json-and-fires-events-so-it-looks-like-xml
>
> Thank you,
> Christina