Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they t开发者_StackOverflow中文版end to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this questionI'm interested in benchmarks for various JSON parsing libraries, ideally, comparing Java and C/C++ implementations.
Java only benchmarks by the Jackson folks:
For java implementations, there is:
- https://github.com/eishay/jvm-serializers/wiki/
which covers all kinds of serialization, including JSON using Jackson, GSON, protostuff.
but unfortunately I have not seen a good comparisons between JSON parsers (and/or generators) on different platforms.
Not sure for steraming stax-like API, but for object data binding, gson is smallest and fast for adhoc, jackson is fastest at server side.
http://danielywoo.blogspot.com/2011/04/json-java-libraries-benchmark-jsonlib.html
精彩评论