json 2.10.0-java → 2.10.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +5 -0
- data/lib/json/ext/generator.jar +0 -0
- data/lib/json/ext/parser.jar +0 -0
- data/lib/json/truffle_ruby/generator.rb +1 -1
- data/lib/json/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0934358f40719c30e11b26cc88be54567810756f5d3e1780dcb8df044c0b0edf'
|
4
|
+
data.tar.gz: 3f25af4cc0426962573ca281fc8b6754bcc42acd31f8f7a632217ef7c62a18f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 852e330449b1818df216c9f75296b7d6355832f7cb05e68bab8fbfb8254b87256ac84741119664c7dc43d28628b7b16ebe92d5b1d71aa478ffc50e56f94b90d3
|
7
|
+
data.tar.gz: 32924b92e629577a14c7e567330b0752ec98a76568a1f4a010cd277fdf611bbcdb7226bbbcb9ddb919e8f9adac58ba47c25005d14aed57d69fd413ec1fd39f97
|
data/CHANGES.md
CHANGED
@@ -1,10 +1,15 @@
|
|
1
1
|
# Changes
|
2
2
|
|
3
|
+
### 2025-02-10 (2.10.1)
|
4
|
+
|
5
|
+
* Fix a compatibility issue with `MultiJson.dump(obj, pretty: true)`: `no implicit conversion of false into Proc (TypeError)`.
|
6
|
+
|
3
7
|
### 2025-02-10 (2.10.0)
|
4
8
|
|
5
9
|
* `strict: true` now accept symbols as values. Previously they'd only be accepted as hash keys.
|
6
10
|
* The C extension Parser has been entirely reimplemented from scratch.
|
7
11
|
* Introduced `JSON::Coder` as a new API allowing to customize how non native types are serialized in a non-global way.
|
12
|
+
* Introduced `JSON::Fragment` to allow assembling cached fragments in a safe way.
|
8
13
|
* The Java implementation of the generator received many optimizations.
|
9
14
|
|
10
15
|
### 2024-12-18 (2.9.1)
|
data/lib/json/ext/generator.jar
CHANGED
Binary file
|
data/lib/json/ext/parser.jar
CHANGED
Binary file
|
@@ -258,7 +258,7 @@ module JSON
|
|
258
258
|
@object_nl = opts[:object_nl] || '' if opts.key?(:object_nl)
|
259
259
|
@array_nl = opts[:array_nl] || '' if opts.key?(:array_nl)
|
260
260
|
@allow_nan = !!opts[:allow_nan] if opts.key?(:allow_nan)
|
261
|
-
@as_json = opts[:as_json].to_proc if opts
|
261
|
+
@as_json = opts[:as_json].to_proc if opts[:as_json]
|
262
262
|
@ascii_only = opts[:ascii_only] if opts.key?(:ascii_only)
|
263
263
|
@depth = opts[:depth] || 0
|
264
264
|
@buffer_initial_length ||= opts[:buffer_initial_length]
|
data/lib/json/version.rb
CHANGED