jrjackson 0.4.20-java → 0.5.0-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -4
- data/jrjackson.gemspec +4 -2
- data/lib/com/fasterxml/jackson/core/jackson-annotations/2.21/jackson-annotations-2.21.jar +0 -0
- data/lib/com/fasterxml/jackson/core/jackson-core/2.21.2/jackson-core-2.21.2.jar +0 -0
- data/lib/com/fasterxml/jackson/core/jackson-databind/2.21.2/jackson-databind-2.21.2.jar +0 -0
- data/lib/com/fasterxml/jackson/module/jackson-module-afterburner/2.21.2/jackson-module-afterburner-2.21.2.jar +0 -0
- data/lib/jrjackson/build_info.rb +10 -6
- data/lib/jrjackson/jars/jrjackson-1.3.0.jar +0 -0
- data/lib/jrjackson_jars.rb +8 -8
- data/pom.xml +25 -21
- metadata +26 -21
- data/lib/com/fasterxml/jackson/core/jackson-annotations/2.15.4/jackson-annotations-2.15.4.jar +0 -0
- data/lib/com/fasterxml/jackson/core/jackson-core/2.15.4/jackson-core-2.15.4.jar +0 -0
- data/lib/com/fasterxml/jackson/core/jackson-databind/2.15.4/jackson-databind-2.15.4.jar +0 -0
- data/lib/com/fasterxml/jackson/module/jackson-module-afterburner/2.15.4/jackson-module-afterburner-2.15.4.jar +0 -0
- data/lib/jrjackson/jars/jrjackson-1.2.37.jar +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8f355fe668f2b538699cc74b823dfd1e7d4a33b847ad56a6aa39b8160714fe7b
|
|
4
|
+
data.tar.gz: a421e26f9b428da4587a678200ec6febb1e59bda99543793c27b49365ebf322c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 32c90a333db20605e787172ee13cca7a56e83eafa8fff59654ba0dfbf550ce6ba7add9082669903611fafcffcbed0f5064e85c6397217ff094e261666e900c4c
|
|
7
|
+
data.tar.gz: 628e94099ea037f7f49fc37c3c1206418c67022416a378eb5c438c3ae7460a871d44208779b81e841381c1d4f58fc93ddb497474a13cab8677e5203707ccd7cd
|
data/README.md
CHANGED
|
@@ -106,8 +106,7 @@ Credit to Chuck Remes for the benchmark and initial
|
|
|
106
106
|
investigation when the jruby, json gem and the jackson
|
|
107
107
|
libraries were young.
|
|
108
108
|
|
|
109
|
-
|
|
110
|
-
All the benchmarks were run separately. A 727.9KB string of random json data is read from a file and handled 250 times, thereby attempting to balance invocation and parsing benchmarking.
|
|
109
|
+
Benchmarks are run separately. A 727.9KB string of random json data is read from a file and handled 250 times, thereby attempting to balance invocation and parsing benchmarking.
|
|
111
110
|
|
|
112
111
|
```
|
|
113
112
|
generation/serialize
|
|
@@ -116,7 +115,6 @@ generation/serialize
|
|
|
116
115
|
|
|
117
116
|
|
|
118
117
|
json java generate: 250 6.780 0.620 7.400 ( 6.599)
|
|
119
|
-
gson generate: 250 4.480 0.530 5.010 ( 4.688)
|
|
120
118
|
jackson generate: 250 2.200 0.010 2.210 ( 2.128)
|
|
121
119
|
|
|
122
120
|
json mri parse: 250 9.620 0.000 9.620 ( 9.631)
|
|
@@ -147,7 +145,6 @@ I have done IPS style benchmarks too.
|
|
|
147
145
|
Generation
|
|
148
146
|
```
|
|
149
147
|
jrjackson: 74539.4 i/s
|
|
150
|
-
gson: 58288.3 i/s - 1.28x slower
|
|
151
148
|
JSON: 54597.2 i/s - 1.37x slower
|
|
152
149
|
```
|
|
153
150
|
|
data/jrjackson.gemspec
CHANGED
|
@@ -18,12 +18,14 @@ Gem::Specification.new do |s|
|
|
|
18
18
|
s.license = 'Apache-2.0'
|
|
19
19
|
s.require_paths = ["lib"]
|
|
20
20
|
|
|
21
|
-
s.
|
|
21
|
+
s.add_dependency 'bigdecimal'
|
|
22
|
+
s.add_development_dependency 'jar-dependencies', '>= 0.3.2'
|
|
22
23
|
|
|
23
24
|
jackson_version = JrJackson::BuildInfo.jackson_version
|
|
25
|
+
jackson_annotations_version = JrJackson::BuildInfo.jackson_annotations_version
|
|
24
26
|
jackson_databind_version = JrJackson::BuildInfo.jackson_databind_version
|
|
25
27
|
s.requirements << "jar com.fasterxml.jackson.core:jackson-core, #{jackson_version}"
|
|
26
|
-
s.requirements << "jar com.fasterxml.jackson.core:jackson-annotations, #{
|
|
28
|
+
s.requirements << "jar com.fasterxml.jackson.core:jackson-annotations, #{jackson_annotations_version}"
|
|
27
29
|
s.requirements << "jar com.fasterxml.jackson.core:jackson-databind, #{jackson_databind_version}"
|
|
28
30
|
s.requirements << "jar com.fasterxml.jackson.module:jackson-module-afterburner, #{jackson_version}"
|
|
29
31
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/lib/jrjackson/build_info.rb
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
module JrJackson
|
|
2
2
|
module BuildInfo
|
|
3
3
|
def self.version
|
|
4
|
-
'0.
|
|
4
|
+
'0.5.0'
|
|
5
5
|
end
|
|
6
6
|
|
|
7
7
|
def self.release_date
|
|
8
|
-
'
|
|
8
|
+
'2026-04-17'
|
|
9
9
|
end
|
|
10
10
|
|
|
11
11
|
def self.files
|
|
@@ -13,15 +13,19 @@ module JrJackson
|
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
def self.jackson_version
|
|
16
|
-
'2.
|
|
16
|
+
'2.21.2'
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
def self.jackson_annotations_version
|
|
20
|
+
'2.21'
|
|
17
21
|
end
|
|
18
22
|
|
|
19
23
|
def self.jackson_databind_version
|
|
20
|
-
'2.
|
|
24
|
+
'2.21.2'
|
|
21
25
|
end
|
|
22
26
|
|
|
23
27
|
def self.jar_version
|
|
24
|
-
'1.
|
|
28
|
+
'1.3.0'
|
|
25
29
|
end
|
|
26
30
|
|
|
27
31
|
private
|
|
@@ -36,7 +40,7 @@ module JrJackson
|
|
|
36
40
|
|
|
37
41
|
def self.generated_jar_files
|
|
38
42
|
[
|
|
39
|
-
"lib/com/fasterxml/jackson/core/jackson-annotations/#{
|
|
43
|
+
"lib/com/fasterxml/jackson/core/jackson-annotations/#{jackson_annotations_version}/jackson-annotations-#{jackson_annotations_version}.jar",
|
|
40
44
|
"lib/com/fasterxml/jackson/core/jackson-core/#{jackson_version}/jackson-core-#{jackson_version}.jar",
|
|
41
45
|
"lib/com/fasterxml/jackson/core/jackson-databind/#{jackson_databind_version}/jackson-databind-#{jackson_databind_version}.jar",
|
|
42
46
|
"lib/com/fasterxml/jackson/module/jackson-module-afterburner/#{jackson_version}/jackson-module-afterburner-#{jackson_version}.jar",
|
|
Binary file
|
data/lib/jrjackson_jars.rb
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
begin
|
|
3
3
|
require 'jar_dependencies'
|
|
4
4
|
rescue LoadError
|
|
5
|
-
require 'com/fasterxml/jackson/core/jackson-
|
|
6
|
-
require 'com/fasterxml/jackson/
|
|
7
|
-
require 'com/fasterxml/jackson/core/jackson-
|
|
8
|
-
require 'com/fasterxml/jackson/
|
|
5
|
+
require 'com/fasterxml/jackson/core/jackson-core/2.21.2/jackson-core-2.21.2.jar'
|
|
6
|
+
require 'com/fasterxml/jackson/core/jackson-annotations/2.21/jackson-annotations-2.21.jar'
|
|
7
|
+
require 'com/fasterxml/jackson/core/jackson-databind/2.21.2/jackson-databind-2.21.2.jar'
|
|
8
|
+
require 'com/fasterxml/jackson/module/jackson-module-afterburner/2.21.2/jackson-module-afterburner-2.21.2.jar'
|
|
9
9
|
end
|
|
10
10
|
|
|
11
11
|
if defined? Jars
|
|
12
|
-
require_jar 'com.fasterxml.jackson.core', 'jackson-
|
|
13
|
-
require_jar 'com.fasterxml.jackson.
|
|
14
|
-
require_jar 'com.fasterxml.jackson.core', 'jackson-
|
|
15
|
-
require_jar 'com.fasterxml.jackson.
|
|
12
|
+
require_jar 'com.fasterxml.jackson.core', 'jackson-core', '2.21.2'
|
|
13
|
+
require_jar 'com.fasterxml.jackson.core', 'jackson-annotations', '2.21'
|
|
14
|
+
require_jar 'com.fasterxml.jackson.core', 'jackson-databind', '2.21.2'
|
|
15
|
+
require_jar 'com.fasterxml.jackson.module', 'jackson-module-afterburner', '2.21.2'
|
|
16
16
|
end
|
data/pom.xml
CHANGED
|
@@ -6,12 +6,12 @@ DO NOT MODIFY - GENERATED CODE
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
-->
|
|
9
|
-
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
|
|
9
|
+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
|
10
10
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
11
11
|
<modelVersion>4.0.0</modelVersion>
|
|
12
12
|
<groupId>com.jrjackson.jruby</groupId>
|
|
13
13
|
<artifactId>jrjackson</artifactId>
|
|
14
|
-
<version>1.
|
|
14
|
+
<version>1.3.0</version>
|
|
15
15
|
<name>A JRuby wrapper for the java jackson json processor jar</name>
|
|
16
16
|
<description>A mostly native JRuby wrapper for the java jackson json processor jar</description>
|
|
17
17
|
<url>http://github.com/guyboertje/jrjackson</url>
|
|
@@ -33,38 +33,45 @@ DO NOT MODIFY - GENERATED CODE
|
|
|
33
33
|
<url>http://github.com/guyboertje/jrjackson</url>
|
|
34
34
|
</scm>
|
|
35
35
|
<properties>
|
|
36
|
-
<jruby.plugins.version>
|
|
37
|
-
<
|
|
36
|
+
<jruby.plugins.version>3.0.0</jruby.plugins.version>
|
|
37
|
+
<maven.compiler.release>11</maven.compiler.release>
|
|
38
|
+
<mavengem.wagon.version>2.0.0</mavengem.wagon.version>
|
|
38
39
|
<polyglot.dump.pom>pom.xml</polyglot.dump.pom>
|
|
39
40
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
40
41
|
</properties>
|
|
41
42
|
<dependencies>
|
|
43
|
+
<dependency>
|
|
44
|
+
<groupId>rubygems</groupId>
|
|
45
|
+
<artifactId>bigdecimal</artifactId>
|
|
46
|
+
<version>[0,)</version>
|
|
47
|
+
<type>gem</type>
|
|
48
|
+
</dependency>
|
|
42
49
|
<dependency>
|
|
43
50
|
<groupId>rubygems</groupId>
|
|
44
51
|
<artifactId>jar-dependencies</artifactId>
|
|
45
|
-
<version>[0.3.2,
|
|
52
|
+
<version>[0.3.2,)</version>
|
|
46
53
|
<type>gem</type>
|
|
47
54
|
<scope>test</scope>
|
|
48
55
|
</dependency>
|
|
49
56
|
<dependency>
|
|
50
57
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
51
58
|
<artifactId>jackson-core</artifactId>
|
|
52
|
-
<version>2.
|
|
59
|
+
<version>2.21.2</version>
|
|
53
60
|
</dependency>
|
|
54
61
|
<dependency>
|
|
55
62
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
56
63
|
<artifactId>jackson-annotations</artifactId>
|
|
57
|
-
<version>2.
|
|
64
|
+
<version>2.21</version>
|
|
58
65
|
</dependency>
|
|
59
66
|
<dependency>
|
|
60
67
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
61
68
|
<artifactId>jackson-databind</artifactId>
|
|
62
|
-
<version>2.
|
|
69
|
+
<version>2.21.2</version>
|
|
63
70
|
</dependency>
|
|
64
71
|
<dependency>
|
|
65
72
|
<groupId>com.fasterxml.jackson.module</groupId>
|
|
66
73
|
<artifactId>jackson-module-afterburner</artifactId>
|
|
67
|
-
<version>2.
|
|
74
|
+
<version>2.21.2</version>
|
|
68
75
|
</dependency>
|
|
69
76
|
<dependency>
|
|
70
77
|
<groupId>junit</groupId>
|
|
@@ -75,7 +82,7 @@ DO NOT MODIFY - GENERATED CODE
|
|
|
75
82
|
<dependency>
|
|
76
83
|
<groupId>org.jruby</groupId>
|
|
77
84
|
<artifactId>jruby</artifactId>
|
|
78
|
-
<version>9.
|
|
85
|
+
<version>9.4.14.0</version>
|
|
79
86
|
<scope>provided</scope>
|
|
80
87
|
</dependency>
|
|
81
88
|
</dependencies>
|
|
@@ -88,12 +95,12 @@ DO NOT MODIFY - GENERATED CODE
|
|
|
88
95
|
<build>
|
|
89
96
|
<extensions>
|
|
90
97
|
<extension>
|
|
91
|
-
<groupId>org.
|
|
98
|
+
<groupId>org.jruby.maven</groupId>
|
|
92
99
|
<artifactId>mavengem-wagon</artifactId>
|
|
93
100
|
<version>${mavengem.wagon.version}</version>
|
|
94
101
|
</extension>
|
|
95
102
|
<extension>
|
|
96
|
-
<groupId>
|
|
103
|
+
<groupId>org.jruby.maven</groupId>
|
|
97
104
|
<artifactId>gem-with-jar-extension</artifactId>
|
|
98
105
|
<version>${jruby.plugins.version}</version>
|
|
99
106
|
</extension>
|
|
@@ -113,7 +120,7 @@ DO NOT MODIFY - GENERATED CODE
|
|
|
113
120
|
</executions>
|
|
114
121
|
<configuration>
|
|
115
122
|
<outputDirectory>lib/jrjackson/jars</outputDirectory>
|
|
116
|
-
<finalName>jrjackson-1.
|
|
123
|
+
<finalName>jrjackson-1.3.0</finalName>
|
|
117
124
|
</configuration>
|
|
118
125
|
</plugin>
|
|
119
126
|
<plugin>
|
|
@@ -124,7 +131,7 @@ DO NOT MODIFY - GENERATED CODE
|
|
|
124
131
|
<fileset>
|
|
125
132
|
<directory>lib/jrjackson/jars</directory>
|
|
126
133
|
<includes>
|
|
127
|
-
<include>jrjackson-1.
|
|
134
|
+
<include>jrjackson-1.3.0.jar</include>
|
|
128
135
|
<include>*/**/*.jar</include>
|
|
129
136
|
</includes>
|
|
130
137
|
</fileset>
|
|
@@ -132,7 +139,7 @@ DO NOT MODIFY - GENERATED CODE
|
|
|
132
139
|
</configuration>
|
|
133
140
|
</plugin>
|
|
134
141
|
<plugin>
|
|
135
|
-
<groupId>
|
|
142
|
+
<groupId>org.jruby.maven</groupId>
|
|
136
143
|
<artifactId>gem-maven-plugin</artifactId>
|
|
137
144
|
<version>${jruby.plugins.version}</version>
|
|
138
145
|
<configuration>
|
|
@@ -141,21 +148,18 @@ DO NOT MODIFY - GENERATED CODE
|
|
|
141
148
|
</plugin>
|
|
142
149
|
<plugin>
|
|
143
150
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
144
|
-
<version>3.
|
|
151
|
+
<version>3.11.0</version>
|
|
145
152
|
<configuration>
|
|
146
|
-
<
|
|
147
|
-
<target>1.8</target>
|
|
153
|
+
<release>11</release>
|
|
148
154
|
<showDeprecation>false</showDeprecation>
|
|
149
155
|
<showWarnings>false</showWarnings>
|
|
150
|
-
<executable>${JAVA_HOME}/bin/javac</executable>
|
|
151
|
-
<fork>true</fork>
|
|
152
156
|
</configuration>
|
|
153
157
|
</plugin>
|
|
154
158
|
<plugin>
|
|
155
159
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
156
160
|
<version>2.17</version>
|
|
157
161
|
<configuration>
|
|
158
|
-
<skipTests>
|
|
162
|
+
<skipTests>false</skipTests>
|
|
159
163
|
</configuration>
|
|
160
164
|
</plugin>
|
|
161
165
|
</plugins>
|
metadata
CHANGED
|
@@ -1,32 +1,39 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jrjackson
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: java
|
|
6
6
|
authors:
|
|
7
7
|
- Guy Boertje
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 2026-04-17 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: bigdecimal
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
15
15
|
requirements:
|
|
16
|
-
- - "
|
|
16
|
+
- - ">="
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '
|
|
18
|
+
version: '0'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
19
23
|
- - ">="
|
|
20
24
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 0
|
|
25
|
+
version: '0'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
22
27
|
name: jar-dependencies
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 0.3.2
|
|
23
33
|
type: :development
|
|
24
34
|
prerelease: false
|
|
25
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
36
|
requirements:
|
|
27
|
-
- - "<"
|
|
28
|
-
- !ruby/object:Gem::Version
|
|
29
|
-
version: '2.0'
|
|
30
37
|
- - ">="
|
|
31
38
|
- !ruby/object:Gem::Version
|
|
32
39
|
version: 0.3.2
|
|
@@ -39,13 +46,13 @@ extra_rdoc_files: []
|
|
|
39
46
|
files:
|
|
40
47
|
- README.md
|
|
41
48
|
- jrjackson.gemspec
|
|
42
|
-
- lib/com/fasterxml/jackson/core/jackson-annotations/2.
|
|
43
|
-
- lib/com/fasterxml/jackson/core/jackson-core/2.
|
|
44
|
-
- lib/com/fasterxml/jackson/core/jackson-databind/2.
|
|
45
|
-
- lib/com/fasterxml/jackson/module/jackson-module-afterburner/2.
|
|
49
|
+
- lib/com/fasterxml/jackson/core/jackson-annotations/2.21/jackson-annotations-2.21.jar
|
|
50
|
+
- lib/com/fasterxml/jackson/core/jackson-core/2.21.2/jackson-core-2.21.2.jar
|
|
51
|
+
- lib/com/fasterxml/jackson/core/jackson-databind/2.21.2/jackson-databind-2.21.2.jar
|
|
52
|
+
- lib/com/fasterxml/jackson/module/jackson-module-afterburner/2.21.2/jackson-module-afterburner-2.21.2.jar
|
|
46
53
|
- lib/jrjackson.rb
|
|
47
54
|
- lib/jrjackson/build_info.rb
|
|
48
|
-
- lib/jrjackson/jars/jrjackson-1.
|
|
55
|
+
- lib/jrjackson/jars/jrjackson-1.3.0.jar
|
|
49
56
|
- lib/jrjackson/jrjackson.rb
|
|
50
57
|
- lib/jrjackson_jars.rb
|
|
51
58
|
- lib/require_relative_patch.rb
|
|
@@ -54,7 +61,6 @@ homepage: http://github.com/guyboertje/jrjackson
|
|
|
54
61
|
licenses:
|
|
55
62
|
- Apache-2.0
|
|
56
63
|
metadata: {}
|
|
57
|
-
post_install_message:
|
|
58
64
|
rdoc_options: []
|
|
59
65
|
require_paths:
|
|
60
66
|
- lib
|
|
@@ -69,12 +75,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
69
75
|
- !ruby/object:Gem::Version
|
|
70
76
|
version: '0'
|
|
71
77
|
requirements:
|
|
72
|
-
- jar com.fasterxml.jackson.core:jackson-core, 2.
|
|
73
|
-
- jar com.fasterxml.jackson.core:jackson-annotations, 2.
|
|
74
|
-
- jar com.fasterxml.jackson.core:jackson-databind, 2.
|
|
75
|
-
- jar com.fasterxml.jackson.module:jackson-module-afterburner, 2.
|
|
76
|
-
rubygems_version: 3.
|
|
77
|
-
signing_key:
|
|
78
|
+
- jar com.fasterxml.jackson.core:jackson-core, 2.21.2
|
|
79
|
+
- jar com.fasterxml.jackson.core:jackson-annotations, 2.21
|
|
80
|
+
- jar com.fasterxml.jackson.core:jackson-databind, 2.21.2
|
|
81
|
+
- jar com.fasterxml.jackson.module:jackson-module-afterburner, 2.21.2
|
|
82
|
+
rubygems_version: 3.7.2
|
|
78
83
|
specification_version: 4
|
|
79
84
|
summary: A JRuby wrapper for the java jackson json processor jar
|
|
80
85
|
test_files: []
|
data/lib/com/fasterxml/jackson/core/jackson-annotations/2.15.4/jackson-annotations-2.15.4.jar
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|