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

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

    [ https://issues.apache.org/jira/browse/CASSANDRA-8785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14316310#comment-14316310 ] 

Aleksey Yeschenko commented on CASSANDRA-8785:
----------------------------------------------

sstable2json/sstable2json are going to be removed/replaced soon. The replacements may or may not use JSON output/input at all, so ¯\_(ツ)_/¯

Otherwise we don't use JSON much (pre-7970).

I suggest you raise this issue in CASSANDRA-7970 with Tyler, since that is the only place where it matters, and maybe switch libraries as part of that ticket.

> 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)