News for hackers. Stuff that matters.

tonytung

Re:Fast, auto-generated streaming JSON parsing for Android on Wednesday September 10, 2014 @07:01PM (#8299785)
This is based on Jackson stream parsing, so by definition, it can't be faster than Jackson. :)
Re:Fast, auto-generated streaming JSON parsing for Android on Wednesday September 10, 2014 @06:46PM (#8299707)
The two are not really comparable since you get different results (JSONObjects are not strongly typed). You will easily be able to find workloads where one is better than the other, but in the average case, ig-json-parser will probably be faster because it's based on Jackson. (see json/jackson/manual vs json/org.json/manual on https://github.com/eishay/jvm-serializers/wiki)
Re:Fast, auto-generated streaming JSON parsing for Android on Wednesday September 10, 2014 @05:32PM (#8299317)
Re:Fast, auto-generated streaming JSON parsing for Android on Wednesday September 10, 2014 @03:31PM (#8298557)
Hi!

I'm one of the authors of this library. The code this library emits is very similar to the json/jackson/manual serializer/deserializer in https://github.com/eishay/jvm-serializers/wiki. Conveniently, GSON is benchmarked there too.

You're right, the field names could be guessed at compile time. Please feel free to submit a PR!

Thanks!