Skip to content

Commit 6729b17

Browse files
authored
Alphabetize Library List (fabienrenaud#72)
1 parent 7dbcc57 commit 6729b17

File tree

2 files changed

+51
-52
lines changed

2 files changed

+51
-52
lines changed

README.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,29 @@
77
This project benchmarks the throughput performance of a variety of Java Json libraries using [JMH](http://openjdk.java.net/projects/code-tools/jmh/).
88
It covers the following libraries:
99

10-
* [jackson](https://github.com/FasterXML/jackson)
11-
* [genson](https://owlike.github.io/genson/)
10+
* [avaje-jsonb](https://github.com/avaje/avaje-jsonb)
11+
* [boon](https://github.com/boonproject/boon)
12+
* [dsl-json](https://github.com/ngs-doo/dsl-json)
1213
* [fastjson](https://github.com/alibaba/fastjson)
14+
* [flexjson](http://flexjson.sourceforge.net/)
15+
* [genson](https://owlike.github.io/genson/)
1316
* [gson](https://github.com/google/gson)
14-
* [org.json](https://github.com/stleary/JSON-java)
15-
* [javax-json](https://jsonp.java.net/) (from Oracle)
17+
* [jackson](https://github.com/FasterXML/jackson)
18+
* [jakarta-json](https://jsonp.java.net/) (from Oracle)
19+
* [johnzon](http://johnzon.apache.org/)
1620
* [json-io](https://github.com/jdereg/json-io)
17-
* [flexjson](http://flexjson.sourceforge.net/)
18-
* [boon](https://github.com/boonproject/boon)
21+
* [json-simple](https://code.google.com/archive/p/json-simple/)
1922
* [json-smart](http://netplex.github.io/json-smart/)
20-
* [johnzon](http://johnzon.apache.org/)
2123
* [logansquare](https://github.com/bluelinelabs/LoganSquare)
22-
* [avaje-jsonb](https://github.com/avaje/avaje-jsonb)
23-
* [dsl-json](https://github.com/ngs-doo/dsl-json)
24-
* [json-simple](https://code.google.com/archive/p/json-simple/)
25-
* [nanojson](https://github.com/mmastrac/nanojson)
26-
* [moshi](https://github.com/square/moshi)
27-
* [tapestry](https://tapestry.apache.org/json.html)
28-
* [jsoniter](http://jsoniter.com)
2924
* [minimal-json](https://github.com/ralfstx/minimal-json)
3025
* [mjson](https://github.com/bolerio/mjson)
31-
* [underscore-java](https://github.com/javadev/underscore-java)
26+
* [moshi](https://github.com/square/moshi)
27+
* [nanojson](https://github.com/mmastrac/nanojson)
28+
* [org.json](https://github.com/stleary/JSON-java)
3229
* [purejson](https://senthilganeshs.github.io/jsonp/)
3330
* [qson](https://github.com/quarkusio/qson)
31+
* [tapestry](https://tapestry.apache.org/json.html)
32+
* [underscore-java](https://github.com/javadev/underscore-java)
3433

3534
When available, both databinding and 'stream' (custom packing and unpacking) implementations are tested.
3635
Two different kinds of [models](/src/main/java/com/github/fabienrenaud/jjb/model/) are evaluated with payloads of 1, 10, 100 and 1000 KB size:

build.gradle

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -30,66 +30,66 @@ dependencies {
3030
implementation group: 'io.airlift', name: 'airline', version: '0.9'
3131
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
3232

33-
// org.json
34-
implementation group: 'org.json', name: 'json', version: '20230227'
33+
// avaje-jsonb
34+
implementation group: 'io.avaje', name: 'avaje-jsonb', version: "${avajeJsonVersion}"
35+
implementation group: 'io.avaje', name: 'avaje-jsonb-jackson', version: "${avajeJsonVersion}"
36+
annotationProcessor group: 'io.avaje', name: 'avaje-jsonb-generator', version: "${avajeJsonVersion}"
37+
// boon
38+
implementation group: 'io.fastjson', name: 'boon', version: '0.34'
39+
// DSL-json
40+
implementation group: 'com.dslplatform', name: 'dsl-json-java8', version: "${dslJsonVersion}"
41+
annotationProcessor group: 'com.dslplatform', name: 'dsl-json-java8', version: "${dslJsonVersion}"
42+
// FastJson
43+
implementation group: 'com.alibaba', name: 'fastjson', version: '2.0.27'
44+
// FlexJson
45+
implementation group: 'net.sf.flexjson', name: 'flexjson', version: '3.3'
46+
// GENSON
47+
implementation group: 'com.owlike', name: 'genson', version: '1.6'
48+
// GSON
49+
implementation group: 'com.google.code.gson', name: 'gson', version: '2.10.1'
3550
// Jackson
3651
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: "${jacksonVersion}"
3752
implementation group: 'com.fasterxml.jackson.module', name: 'jackson-module-afterburner', version: "${jacksonVersion}"
3853
implementation group: 'com.fasterxml.jackson.module', name: 'jackson-module-blackbird', version: "${jacksonVersion}"
3954
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: "${jacksonVersion}"
40-
// GSON
41-
implementation group: 'com.google.code.gson', name: 'gson', version: '2.10.1'
42-
// JSONP
43-
implementation group: 'jakarta.json', name: 'jakarta.json-api', version: '2.1.1'
44-
implementation group: 'org.glassfish', name: 'jakarta.json', version: '2.0.1'
55+
// jodd
56+
implementation group: 'org.jodd', name: 'jodd-json', version: '6.0.3'
57+
// johnzon
58+
implementation group: 'org.apache.johnzon', name: 'johnzon-core', classifier: 'jakarta', version: "${johnzonVersion}"
59+
implementation group: 'org.apache.johnzon', name: 'johnzon-mapper', classifier: 'jakarta', version: "${johnzonVersion}"
4560
// JSONB
4661
implementation group: 'jakarta.json.bind', name: 'jakarta.json.bind-api', version: '3.0.0'
4762
implementation group: 'org.eclipse', name: 'yasson', version: '3.0.2'
48-
// GENSON
49-
implementation group: 'com.owlike', name: 'genson', version: '1.6'
50-
// FlexJson
51-
implementation group: 'net.sf.flexjson', name: 'flexjson', version: '3.3'
52-
// FastJson
53-
implementation group: 'com.alibaba', name: 'fastjson', version: '2.0.26'
63+
// JSONP
64+
implementation group: 'jakarta.json', name: 'jakarta.json-api', version: '2.1.1'
65+
implementation group: 'org.glassfish', name: 'jakarta.json', version: '2.0.1'
5466
// json-io
5567
implementation group: 'com.cedarsoftware', name: 'json-io', version: '4.14.0'
56-
// boon
57-
implementation group: 'io.fastjson', name: 'boon', version: '0.34'
58-
// johnzon
59-
implementation group: 'org.apache.johnzon', name: 'johnzon-core', classifier: 'jakarta', version: "${johnzonVersion}"
60-
implementation group: 'org.apache.johnzon', name: 'johnzon-mapper', classifier: 'jakarta', version: "${johnzonVersion}"
68+
// json-simple
69+
implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
6170
// json-smart
6271
implementation group: 'net.minidev', name: 'json-smart', version: '2.4.10'
63-
// DSL-json
64-
implementation group: 'com.dslplatform', name: 'dsl-json-java8', version: "${dslJsonVersion}"
65-
annotationProcessor group: 'com.dslplatform', name: 'dsl-json-java8', version: "${dslJsonVersion}"
6672
// LoganSquare
6773
implementation group: 'com.bluelinelabs', name: 'logansquare', version: '1.3.7'
6874
annotationProcessor group: 'com.bluelinelabs', name: 'logansquare-compiler', version: '1.3.7'
69-
// json-simple
70-
implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
71-
// nanojson
72-
implementation group: 'com.grack', name: 'nanojson', version: '1.8'
73-
// jodd
74-
implementation group: 'org.jodd', name: 'jodd-json', version: '6.0.3'
75-
// moshi
76-
implementation group: 'com.squareup.moshi', name: 'moshi', version: '1.14.0'
77-
// tapestry
78-
implementation group: 'org.apache.tapestry', name: 'tapestry-json', version: '5.8.2'
7975
// minimal-json
8076
implementation group: 'com.eclipsesource.minimal-json', name: 'minimal-json', version: '0.9.5'
8177
// mjson
8278
implementation group: 'org.sharegov', name: 'mjson', version: '1.4.1'
83-
// underscore-java
84-
implementation group: 'com.github.javadev', name: 'underscore', version: '1.88'
79+
// moshi
80+
implementation group: 'com.squareup.moshi', name: 'moshi', version: '1.14.0'
81+
// nanojson
82+
implementation group: 'com.grack', name: 'nanojson', version: '1.8'
83+
// org.json
84+
implementation group: 'org.json', name: 'json', version: '20230227'
8585
// purejson
8686
implementation group: 'io.github.senthilganeshs', name: 'purejson', version: '1.0.1'
87-
// avaje-jsonb
88-
implementation group: 'io.avaje', name: 'avaje-jsonb', version: "${avajeJsonVersion}"
89-
implementation group: 'io.avaje', name: 'avaje-jsonb-jackson', version: "${avajeJsonVersion}"
90-
annotationProcessor group: 'io.avaje', name: 'avaje-jsonb-generator', version: "${avajeJsonVersion}"
9187
// qson
9288
implementation group: 'io.quarkus.qson', name: 'qson-generator', version: '1.1.1.Final'
89+
// tapestry
90+
implementation group: 'org.apache.tapestry', name: 'tapestry-json', version: '5.8.2'
91+
// underscore-java
92+
implementation group: 'com.github.javadev', name: 'underscore', version: '1.88'
9393

9494
// Test
9595
testImplementation group: 'junit', name: 'junit', version: '4.13.2'

0 commit comments

Comments
 (0)