cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-8785) Check for alternative of json-simple library
Date Wed, 11 Feb 2015 14:57:12 GMT
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)

Mime
View raw message