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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c1c1f77de7b4d11ae341c57e478018a4e4099df04a747de675a96d04c9b34a8
4
- data.tar.gz: 3371f68faaf2fc0e463f8832dfec85a159abff5006b339d2012c5cb901cdbeda
3
+ metadata.gz: '0934358f40719c30e11b26cc88be54567810756f5d3e1780dcb8df044c0b0edf'
4
+ data.tar.gz: 3f25af4cc0426962573ca281fc8b6754bcc42acd31f8f7a632217ef7c62a18f0
5
5
  SHA512:
6
- metadata.gz: ac182ab8e520d417bfc69535d640f928aebae3c9c3481c650074445b5f41b721a753e9aa34b32099e2d67e219cb9b5c979dd34873ce77902d776e8929472069f
7
- data.tar.gz: 26c1acf79a62ad24214dffbd47804b42a4a6e4952b26aab27247607c23fe09d20cfb43e53b909d709fd89288bf70e8797f2a53db35b87691d44c2adbdea5dbd2
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)
Binary file
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.key?(:as_json)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JSON
4
- VERSION = '2.10.0'
4
+ VERSION = '2.10.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.10.0
4
+ version: 2.10.1
5
5
  platform: java
6
6
  authors:
7
7
  - Daniel Luz