RSS Feed for This PostCurrent Article

Java: JSON Parser Performance

I am looking for a fast JSON parser but there is no benchmark out there. Such, I did a simple test for the following JSON library

My test is simple.

  1. Create a JSON object
  2. Add few String objects to the object
  3. Serialize and deserialize the JSON object
  4. Loop the above for 1 million times.

The performance of the above libraries sorted in order

  1. Jackson
  2. Noggit
  3. JSON-lib

Trackback URL

RSS Feed for This Post1 Comment(s)

  1. Chung Woo | Feb 2, 2010 | Reply

    Could you post some comparison results from your tests (in terms of execution times)?

1 Trackback(s)

  1. From JVM 调优文章汇总 | AlanX | Nov 17, 2009

Sorry, comments for this entry are closed at this time.