path: root/ext/json
AgeCommit message (Collapse)Author
7 daysFix homepage url in gemspecYusuke Nakamura
GitHub Pages now hosted on *
2022-12-09Merge json-2.6.3Hiroshi SHIBATA
Notes: Merged:
2022-07-29[flori/json] Stop including the parser source __LINE__ in exceptionsJean Boussier
It makes testing for JSON errors very tedious. You either have to use a Regexp or to regularly update all your assertions when JSON is upgraded. Notes: Merged:
2022-05-20[flori/json] Bump version to 2.6.2Florian Frank
2022-05-20[flori/json] Fix parser bug for empty string allocationAndrew Bromwich
When `HAVE_RB_ENC_INTERNED_STR` is enabled it is possible to pass through a null pointer to `rb_enc_interned_str` resulting in a segfault Fixes #495
2022-05-20[flori/json] Doc: Improve documentation on JSON#parse and JSON#parse!Hiroshi SHIBATA Co-authored-by: Bruno Gomes da Silva <>
2022-02-22[Feature #18249] Update dependenciesPeter Zhu
Notes: Merged:
2021-11-21Update dependenciesNobuyoshi Nakada
2021-10-24[flori/json] Bump version to v2.6.1Hiroshi SHIBATA
2021-10-24[flori/json] Bump JSON::VERSION to 2.6.0.Josef Šimánek
2021-10-14[flori/json] Bump up json version to 2.6.0Hiroshi SHIBATA
2021-10-05ruby tool/update-deps --fix卜部昌平
Notes: Merged:
2021-07-29Update the latest version of json.gemspec from flori/jsonHiroshi SHIBATA
2021-05-19ext/json/parser/parser.h: Add fallback MAYBE_UNUSEDNobuyoshi Nakada
2021-05-18ext/json/parser/ fix warnings for code generated by ragelNobuyoshi Nakada
* type-limits when plain-char is unsigned * unused-const-variable for NFA constants
2021-05-17Bump version of required_ruby_version to 2.3. Fixes #464Hiroshi SHIBATA
2021-05-17[flori/json] Deduplicate strings inside json_string_unescapeJean Boussier
[ci 2]
2021-05-17[flori/json] Refactor json_string_unescapeJean Boussier
2021-05-17[flori/json] Fix incorrect `#` position in API docMasafumi Koba
This change fixes an incorrect `#` position in the API documentation of the `JSON` module.
2021-04-13dependency updates卜部昌平
Notes: Merged:
2021-02-01Fix GC compatibility: Don't stash encodings in global constantsAaron Patterson
This value should either be pinned, or looked up when needed at runtime. Without pinning, the GC may move the encoding object, and that could cause a crash. In this case it is easier to find the value at runtime, and there is no performance penalty (as Ruby caches encoding indexes). We can shorten the code, be compaction friendly, and incur no performance penalty.
2020-12-22Merge json-2.5.1Hiroshi SHIBATA
2020-12-22Prepare to release json-2.5.0Hiroshi SHIBATA
Notes: Merged:
2020-12-21[json] Avoid method redefinitionKenta Murata
2020-12-21[json] Make json Ractor safeKenta Murata
2020-12-21[json] JSON_parse_float: Fix how to convert numberKenta Murata
Stop BigDecimal-specific optimization. Instead, it tries the conversion methods in the following order: 1. `try_convert`, 2. `new`, and 3. class-named function, e.g. `Foo::Bar.Baz` function for `Foo::Bar::Baz` class If all the above candidates are unavailable, it fallbacks to Float.
2020-12-21[json] Make JSON.create_id thread-safeKenta Murata
2020-12-21[json] Stop using prototype objectsKenta Murata
2020-12-17expand VERSION path for ruby repository.Hiroshi SHIBATA
2020-12-17Bump version to json-2.4.1 and use VERSION file for json version same as ↵Hiroshi SHIBATA
2020-12-15Bump version to json-2.4.0Hiroshi SHIBATA
2020-11-10Complex and Rational is embedded classes nowHiroshi SHIBATA
Notes: Merged:
2020-10-20Implement a freeze: parser optionJean Boussier
If set to true all parsed objects will be immediately frozen, and strings will be deduplicated if the Ruby implementation allows it.
2020-09-25[flori/json] Fix JSON.load_file docJean Boussier Notes: Merged:
2020-09-25[flori/json] Partial compliance with doc/method_documentation.rdocBurdetteLamar Notes: Merged:
2020-09-25[flori/json] Enhanced RDoc for JSON.dump (#443)Burdette Lamar
* Enhanced RDoc for JSON.dump Notes: Merged:
2020-09-25bundle the LICENSE file in the gemJulien Feltesse
Notes: Merged:
2020-09-25[flori/json] Nodoc for recurse_procBurdetteLamar Notes: Merged:
2020-09-25[flori/json] RDoc for JSON.load with procBurdetteLamar Notes: Merged:
2020-09-25unify json-java gemspec with the baselineKarol Bucek
Notes: Merged:
2020-09-25[flori/json] RDoc example for JSON.loadBurdetteLamar Notes: Merged:
2020-09-25[flori/json] Enhance RDoc for JSON.parseBurdetteLamar Notes: Merged:
2020-09-25[flori/json] Move options from #generate and #parse to common areaBurdetteLamar Notes: Merged:
2020-09-25[flori/json] Add `load_file` and `load_file!` methods, with tests. Fixes ↵Keith Bennett
issue #386. Notes: Merged:
2020-09-25Add an option to escape forward slash characterJean Boussier
Squashed commit of the following: commit 26d181059989279a79c433cedcd893b4f52e42ee Author: Francois Chagnon <> Date: Tue Sep 15 21:17:34 2015 +0000 add config options for escape_slash commit fa282334051b16df91ca097dd7304b46f3bc7719 Author: Francois Chagnon <> Date: Mon Feb 9 21:09:33 2015 +0000 add forward slash to escape character Notes: Merged:
2020-08-27sed -i '/rmodule.h/d'卜部昌平
Notes: Merged:
2020-08-27sed -i '/r_cast.h/d'卜部昌平
Notes: Merged:
2020-08-27sed -i '\,2/extern.h,d'卜部昌平
Notes: Merged:
2020-07-01Merge json-2.3.1 from flori/jsonHiroshi SHIBATA
2020-07-01[flori/json] Typo fixMarc-Andre Lafortune