You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Robert Stupp (JIRA)" <ji...@apache.org> on 2015/02/11 15:57:12 UTC

[jira] [Created] (CASSANDRA-8785) Check for alternative of json-simple library

Robert Stupp created CASSANDRA-8785:
---------------------------------------

             Summary: Check for alternative of json-simple library
                 Key: CASSANDRA-8785
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8785
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Robert Stupp
             Fix For: 3.0


The JSON library used in C* (json-simple 1.1) is quite aged: 1.1 is dated 08/2009 and the newest version 1.1.1 is dated 03/2012.

That library uses very old Java APIs (e.g. StringBuffer) and has no streaming API. Especially the streaming API should improve json2sstable and sstable2json tools.

On [this page|http://eclipsesource.com/blogs/2013/04/18/minimal-json-parser-for-java/] is some JSON parser performance comparison.
IMO Jackson feels like a nice alternative.

/cc [~iamaleksey] v3.0 ok?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)