title: jackson vs json simple for stream parsing
body: <p>I have a json library on github <a href="https://github.com/jillesvangurp/jsonj" rel="nofollow">https://github.com/jillesvangurp/jsonj</a></p>
  
  <p>This library has a parser based on json simple, which uses a handler class to do all the work of creating instances of JsonObject,JsonArray, and JsonPrimitive that I have in my library.</p>
  
  <p>I've seen people post various benchmarks suggesting that the jackson parser is about as good as it gets in terms of performance and that json simple is one of the slower options. So, to see if I could boost performance, I created an alternative parser that uses the jackson streaming API and calls the same handler that I used for the original parser. This works fine from a functional perspective and was pretty straightforward.</p>
  
  <p>You can find the relevant classes here (JsonHandler, JsonParser and JsonParserNg): <a href="https://github.com/jillesvangurp/jsonj/tree/master/src/main/java/com/github/jsonj/tools" rel="nofollow">https://github.com/jillesvangurp/jsonj/tree/master/src/main/java/com/github/jsonj/tools</a></p>
  
  <p>However, I'm not seeing any improvement on the various tests I ran. </p>
  
  <p>So, my question: should I be seeing any improvement at all and if so why? It seems to me that in streaming API mode at least, both libraries have similar performance.</p>
  
  <p>I'd be very interested in other people's experience with this.</p>