[metrics-bugs] #26159 [Metrics/Library]: Replace Gson with Jackson in metrics-lib

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue May 22 10:33:55 UTC 2018


#26159: Replace Gson with Jackson in metrics-lib
---------------------------------+--------------------------
     Reporter:  karsten          |      Owner:  metrics-team
         Type:  enhancement      |     Status:  new
     Priority:  High             |  Milestone:
    Component:  Metrics/Library  |    Version:
     Severity:  Normal           |   Keywords:
Actual Points:                   |  Parent ID:
       Points:                   |   Reviewer:
      Sponsor:                   |
---------------------------------+--------------------------
 Related to Onionoo ticket #25848, we should replace Gson with Jackson in
 metrics-lib.

 Otherwise, if we don't switch here, Onionoo will have to include two
 dependencies in order to parse CollecTor's `index.json` using metrics-lib
 and to format and parse its various JSON files in its `status/` and `out/`
 directories.

 Generally, we'll want to switch in other applications that depend on
 metrics-lib, and then we'll want to have a single dependency for JSON
 parsing/formatting in those applications.

 Setting priority to high, because we should ideally put out a release with
 this change in the next few days and then releases of all other
 applications by the end of this month.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26159>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the metrics-bugs mailing list