You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@orc.apache.org by "Yiqun Zhang (Jira)" <ji...@apache.org> on 2021/08/14 10:09:00 UTC

[jira] [Created] (ORC-946) Unified json library

Yiqun Zhang created ORC-946:
-------------------------------

             Summary: Unified json library
                 Key: ORC-946
                 URL: https://issues.apache.org/jira/browse/ORC-946
             Project: ORC
          Issue Type: Improvement
          Components: Java
    Affects Versions: 1.8.0
            Reporter: Yiqun Zhang
             Fix For: 1.8.0


The java project depends on several json libraries, can we unify them into one so that we can also reduce the dependencies.

use jackson-core in orc-benchmarks-core
 org.apache.orc.bench.core.convert.json.JsonReader
 org.apache.orc.bench.core.convert.json.JsonWriter

use gson in tools
 org.apache.orc.tools.convert.JsonReader
 org.apache.orc.tools.json.JsonSchemaFinder
 org.apache.orc.tools.json.JsonShredder
 org.apache.orc.tools.json.TestJsonSchemaFinder

use jettjson in tools
 org.apache.orc.tools.KeyTool
 org.apache.orc.tools.JsonFileDump
 org.apache.orc.tools.PrintData

 

I could provide a pr to unify the json library. But I'd like to hear from people
1. is the unification necessary?
2. if so, which library do we use? jackson/gson/jettison

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)