Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Changes

* Fix `JSON.load` proc argument to substitute the parsed object with the return value.
This better match `Marshal.load` behavior.
* Deprecate `JSON.fast_generate` (it's not any faster, so pointless).
* Deprecate `JSON.load_default_options`.
* Deprecate `JSON.unsafe_load_default_options`.
Expand Down
1 change: 0 additions & 1 deletion ext/json/ext/parser/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
have_func("rb_enc_interned_str", "ruby.h") # RUBY_VERSION >= 3.0
have_func("rb_hash_new_capa", "ruby.h") # RUBY_VERSION >= 3.2
have_func("rb_hash_bulk_insert", "ruby.h") # Missing on TruffleRuby
have_func("rb_category_warn", "ruby.h") # Missing on TruffleRuby
have_func("strnlen", "string.h") # Missing on Solaris 10

append_cflags("-std=c99")
Expand Down
190 changes: 30 additions & 160 deletions ext/json/ext/parser/parser.c

Large diffs are not rendered by default.

Loading