This is based on Jackson stream parsing, so by definition, it can't be faster than Jackson. :)
HN user
tonytung
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)
Please see the comment here https://news.ycombinator.com/item?id=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!