Recent Releases of https://github.com/ruby/json
https://github.com/ruby/json - v3.0.0.rc1
With the removal of the insecure create_additions option, JSON.load and JSON.dump are
now safe to use. Them being unsafe by default caused multiple security vulnerabilites in the past.
If you did depend on create_additions, the recommended migration is to implement a custom serializer using
JSON::Coder.
All the mutable default options, such as JSON.load_default_options have been removed.
They were preventing Ractor compatiblity, and causing bug in libraries using JSON expecting the default behavior.
JSON methods now always behave the same unless monkey patched.
All methods options are now either keyword arguments or checked like keyword arguments, meaning
unknown options such as typos raise ArgumentError.
Duplicated keys are now rejected by default.
JavaScript comments in documents are no longer supported by default.
Numerous rarely used aliases have been removed.
JSON.loaddefaults are now safe to use.- All unknown options are now cause an
ArgumentErrorrather than to be ignored. - The
allow_commentsparsing option now default tofalse. - The
allow_duplicate_keyoption now defaults tofalse, for both parsing and generating JSON. - Removed the
limitpositional argument ofJSON.dump. - Removed the
escape_slashalias ofscript_safe. - Removed
Kernel#jandKernel#jj. - Removed
JSON.load_default_options. - Removed
JSON.unsafe_load_default_options. - Removed
JSON.dump_default_options. - Removed
JSON::State#[]andJSON::State#[]=. - Removed
JSON.unparse. - Removed
JSON.fast_generate. - Removed
JSON.fast_unparse. - Removed
JSON.pretty_unparse. - Removed
JSON.restore. - Removed
JSON::PRETTY_STATE_PROTOTYPE. - Removed the insecure
create_additionsoption. - Removed
JSON::GenericObject.
Full Changelog: https://github.com/ruby/json/compare/v2.21.2...v3.0.0.rc1
- Ruby
Published by byroot about 2 months ago
https://github.com/ruby/json - v2.21.2
What's Changed
- Fix a use-after-free bug in
JSON::ResumableParser. [GHSA-9hj4-r449-hfvc].
Full Changelog: https://github.com/ruby/json/compare/v2.21.1...v2.21.2
- Ruby
Published by byroot 2 months ago
https://github.com/ruby/json - v2.21.0
What's Changed
JSON.generatenow accept asort_keysoption, which takes either a boolean or a block.- Added
#empty?and#partial_value?methods onJSON::ResumableParser. - Numerous correctness and performance fixes for
JSON::ResumableParser. - Avoid triggering Ruby's
float out of rangewarning when parsing out of range numbers. - Declare C types with Ruby 4.1
RUBY_TYPED_THREAD_SAFE_FREE.
Full Changelog: https://github.com/ruby/json/compare/v2.20.0...v2.21.0
- Ruby
Published by byroot 3 months ago
https://github.com/ruby/json - v2.20.0
What's Changed
- Both C and Java parsers are no longer recursive, so parsing very deep documents with
max_nesting: falsewill no longer
result inSystemStackError stack level too deeperrors.- The
:max_nestingoption still defaults to100.
- The
- Optimized floating point number parsing further by replacing the ryu algorithm by a port of Eisel-Lemire Fast Float.
- Added
JSON::ResumableParserto parse streams of JSON documents. Not yet available on JRuby. - Deprecate default support of JavaScript comments in the parser and add
allow_comments: trueparsing option. - Integrate with Ruby 4.1
ruby_sized_xfree.
Full Changelog: https://github.com/ruby/json/compare/v2.19.8...v2.20.0
- Ruby
Published by byroot 4 months ago
https://github.com/ruby/json - v2.19.9
- Fix buffer overflow that could lead to a crash when writing JSON directly into an IO
withJSON.generate(object, io). [CVE-2026-54696].
Full Changelog: https://github.com/ruby/json/compare/v2.19.8...v2.19.9
- Ruby
Published by byroot 4 months ago
https://github.com/ruby/json - v2.19.8
What's Changed
- Fix 1-byte buffer overread on EOS errors.
- Handle invalid types passed as
max_nestingoption.
Full Changelog: https://github.com/ruby/json/compare/v2.19.7...v2.19.8
- Ruby
Published by byroot 4 months ago
https://github.com/ruby/json - v2.19.7
What's Changed
- Fix some more edge cases with out of range floats.
- Ensure the string provided to
JSON.parsecan't be mutated during parsing. - Add missing write barriers in
State#dup. - Further validate generator
depthconfig.
Full Changelog: https://github.com/ruby/json/compare/v2.19.6...v2.19.7
- Ruby
Published by byroot 4 months ago
https://github.com/ruby/json - v2.19.6
What's Changed
- Cleanly handle overly large
depthgenerator argument. - Add missing write barrier in
ParserConfig.
Full Changelog: https://github.com/ruby/json/compare/v2.19.5...v2.19.6
- Ruby
Published by byroot 4 months ago
https://github.com/ruby/json - v2.19.5
What's Changed
- Cap the parser to emit a maximum of 5 deprecation warnings per document. Emitting more is not helpful.
Full Changelog: https://github.com/ruby/json/compare/v2.19.4...v2.19.5
- Ruby
Published by byroot 5 months ago
https://github.com/ruby/json - v2.19.4
What's Changed
- Fix parsing of out of range floats (very large exponents that lead to either
0.0orInf).
Full Changelog: https://github.com/ruby/json/compare/v2.19.2...v2.19.4
- Ruby
Published by byroot 6 months ago
https://github.com/ruby/json - v2.19.3
- Fix handling of unescaped control characters preceeded by a backslash.
Full Changelog: https://github.com/ruby/json/compare/v2.19.2...v2.19.3
- Ruby
Published by byroot 7 months ago
https://github.com/ruby/json - v2.15.2.1
- Fix a format string injection vulnerability in
JSON.parse(doc, allow_duplicate_key: false).CVE-2026-33210
Full Changelog: https://github.com/ruby/json/compare/v2.15.2...v2.15.2.1
- Ruby
Published by byroot 7 months ago
https://github.com/ruby/json - v2.17.1.2
- Fix a format string injection vulnerability in
JSON.parse(doc, allow_duplicate_key: false).CVE-2026-33210
Full Changelog: https://github.com/ruby/json/compare/v2.17.1...v2.17.1.2
- Ruby
Published by byroot 7 months ago
https://github.com/ruby/json - v2.19.2
What's Changed
- Fix a format string injection vulnerability in
JSON.parse(doc, allow_duplicate_key: false).CVE-2026-33210
Full Changelog: https://github.com/ruby/json/compare/v2.19.1...v2.19.2
- Ruby
Published by byroot 7 months ago
https://github.com/ruby/json - v2.19.1
What's Changed
- Fix a compiler dependent GC bug introduced in
2.18.0.
Full Changelog: https://github.com/ruby/json/compare/v2.19.0...v2.19.1
- Ruby
Published by byroot 7 months ago
https://github.com/ruby/json - v2.19.0
What's Changed
- Fix
allow_blankparsing option to no longer allow invalid types (e.g.load([], allow_blank: true)now raise a type error). - Add
allow_invalid_escapeparsing option to ignore backslashes that aren't followed by one of the valid escape characters.
Full Changelog: https://github.com/ruby/json/compare/v2.18.1...v2.19.0
- Ruby
Published by byroot 7 months ago
https://github.com/ruby/json - v2.18.1
What's Changed
- Fix a potential crash in very specific circumstance if GC triggers during a call to
to_json
without first invoking a user defined#to_jsonmethod.
Full Changelog: https://github.com/ruby/json/compare/v2.18.0...v2.18.1
- Ruby
Published by byroot 8 months ago
https://github.com/ruby/json - v2.18.0
What's Changed
- Add
:allow_control_charactersparser options, to allow JSON strings containing unescaped ASCII control characters (e.g. newlines).
Full Changelog: https://github.com/ruby/json/compare/v2.17.1...v2.18.0
- Ruby
Published by byroot 10 months ago
https://github.com/ruby/json - v2.17.1
What's Changed
- Fix a regression in parsing of unicode surogate pairs (
\uXX\uXX) that could cause an invalid string to be returned.
Full Changelog: https://github.com/ruby/json/compare/v2.17.0...v2.17.1
- Ruby
Published by byroot 10 months ago
https://github.com/ruby/json - v2.17.0
What's Changed
- Improve
JSON.loadandJSON.unsafe_loadto allow passing options as second argument. - Fix the parser to no longer ignore invalid escapes in strings.
Only\",\\,\b,\f,\n,\r,\tand\uare valid JSON escapes. - Fixed
JSON::Coderto use the depth it was initialized with. - On TruffleRuby, fix the generator to not call
to_jsonon the return value ofas_jsonforFloat::NAN. - Fixed handling of
state.depth: whento_jsonchangesstate.depthbut does not restore it, it is reset
automatically to its initial value.
In particular, when aNestingErroris raised,depthis no longer equal tomax_nestingafter the call to
generate, and is reset to its initial value. Similarly whento_jsonraises an exception.
Full Changelog: https://github.com/ruby/json/compare/v2.16.0...v2.17.0
- Ruby
Published by byroot 10 months ago
https://github.com/ruby/json - v2.16.0
What's Changed
- Deprecate
JSON::State#[]andJSON::State#[]=. Consider usingJSON::Coderinstead. JSON::Codernow also yields to the block when encountering strings with invalid encoding.- Fix GeneratorError messages to be UTF-8 encoded.
- Fix memory leak when
Exceptionis raised, orthrowis used during JSON generation. - Optimized floating point number parsing by integrating the ryu algorithm (thanks to Josef Šimánek).
- Optimized numbers parsing using SWAR (thanks to Scott Myron).
- Optimized parsing of pretty printed documents using SWAR (thanks to Scott Myron).
Full Changelog: https://github.com/ruby/json/compare/v2.15.2...v2.16.0
- Ruby
Published by byroot 11 months ago
https://github.com/ruby/json - v2.15.2
What's Changed
- Fix
JSON::Coderto have one dedicated depth counter per invocation.
After encountering a circular reference inJSON::Coder#dump, any further#dumpcall would raiseJSON::NestingError.
Full Changelog: https://github.com/ruby/json/compare/v2.15.1...v2.15.2
- Ruby
Published by byroot 12 months ago
https://github.com/ruby/json - v2.15.1
What's Changed
- Fix incorrect escaping in the JRuby extension when encoding shared strings.
Full Changelog: https://github.com/ruby/json/compare/v2.15.0...v2.15.1
- Ruby
Published by byroot 12 months ago
https://github.com/ruby/json - v2.15.0
What's Changed
JSON::Codercallback now receive a second argument to convey whether the object is a hash key.- Tuned the floating point number generator to not use scientific notation as aggressively.
Full Changelog: https://github.com/ruby/json/compare/v2.14.1...v2.15.0
- Ruby
Published by byroot about 1 year ago
https://github.com/ruby/json - v2.14.1
What's Changed
- Fix
IndexOutOfBoundsExceptionin the JRuby extension when encoding shared strings.
Full Changelog: https://github.com/ruby/json/compare/v2.14.0...v2.14.1
- Ruby
Published by byroot about 1 year ago
https://github.com/ruby/json - v2.14.0
What's Changed
- Add new
allow_duplicate_keygenerator options. By default a warning is now emitted when a duplicated key is encountered.
Injson 3.0an error will be raised.>> Warning[:deprecated] = true >> puts JSON.generate({ foo: 1, "foo" => 2 }) (irb):2: warning: detected duplicate key "foo" in {foo: 1, "foo" => 2}. This will raise an error in json 3.0 unless enabled via `allow_duplicate_key: true` {"foo":1,"foo":2} >> JSON.generate({ foo: 1, "foo" => 2 }, allow_duplicate_key: false) detected duplicate key "foo" in {foo: 1, "foo" => 2} (JSON::GeneratorError) - Fix
JSON.generatestrict: truemode to also restrict hash keys. - Fix
JSON::Coderto also invoke block for hash keys that aren't strings nor symbols. - Fix
JSON.unsafe_loadusage with proc - Fix the parser to more consistently reject invalid UTF-16 surogate pairs.
Full Changelog: https://github.com/ruby/json/compare/v2.13.2...v2.14.0
- Ruby
Published by byroot about 1 year ago
https://github.com/ruby/json - v2.13.2
What's Changed
- Improve duplicate key warning and errors to include the key name and point to the right caller.
Full Changelog: https://github.com/ruby/json/compare/v2.13.1...v2.13.2
- Ruby
Published by byroot about 1 year ago
https://github.com/ruby/json - v2.13.1
What's Changed
- Fix support for older compilers without
__builtin_cpu_supports.
Full Changelog: https://github.com/ruby/json/compare/v2.13.0...v2.13.1
- Ruby
Published by byroot about 1 year ago
https://github.com/ruby/json - v2.13.0
What's Changed
- Add new
allow_duplicate_keyparsing options. By default a warning is now emitted when a duplicated key is encountered.
Injson 3.0an error will be raised. - Optimize parsing further using SIMD to scan strings.
Full Changelog: https://github.com/ruby/json/compare/v2.12.2...v2.13.0
- Ruby
Published by byroot about 1 year ago
https://github.com/ruby/json - v2.12.2
- Fix compiler optimization level.
Full Changelog: https://github.com/ruby/json/compare/v2.12.1...v2.12.2
- Ruby
Published by byroot over 1 year ago
https://github.com/ruby/json - v2.12.1
What's Changed
- Fix a potential crash in large negative floating point number generation.
- Fix for JSON.pretty_generate to use passed state object's generate instead of state class as the required parameters aren't available.
Full Changelog: https://github.com/ruby/json/compare/v2.12.0...v2.12.1
- Ruby
Published by byroot over 1 year ago
https://github.com/ruby/json - v2.12.0
What's Changed
- Improve floating point generation to not use scientific notation as much.
- Include line and column in parser errors. Both in the message and as exception attributes.
- Handle non-string hash keys with broken
to_simplementations. JSON.generatenow uses SSE2 (x86) or NEON (arm64) instructions when available to escape strings.
Full Changelog: https://github.com/ruby/json/compare/v2.11.3...v2.12.0
- Ruby
Published by byroot over 1 year ago
https://github.com/ruby/json - v2.11.3
What's Changed
- Fix a regression in JSON.pretty_generate that could cause indentation to be off once some #to_json has been called.
Full Changelog: https://github.com/ruby/json/compare/v2.11.2...v2.11.3
- Ruby
Published by byroot over 1 year ago
https://github.com/ruby/json - v2.11.2
What's Changed
- Bring back JSON::PRETTY_STATE_PROTOTYPE with a deprecation
Full Changelog: https://github.com/ruby/json/compare/v2.11.1...v2.11.2
- Ruby
Published by byroot over 1 year ago
https://github.com/ruby/json - v2.11.1
What's Changed
- Add back
JSON.restore,JSON.unparse,JSON.fast_unparseandJSON.pretty_unparse.
These were deprecated 16 years ago, but never emited warnings, only undocumented, so are
still used by a few gems.
Full Changelog: https://github.com/ruby/json/compare/v2.11.0...v2.11.1
- Ruby
Published by byroot over 1 year ago
https://github.com/ruby/json - v2.11.0
What's Changed
- Optimize Integer generation to be ~1.8x faster.
- Optimize Float generation to be ~10x faster.
- Fix
JSON.loadproc argument to substitute the parsed object with the return value.
This better matchMarshal.loadbehavior. - Deprecate
JSON.fast_generate(it's not any faster, so pointless). - Deprecate
JSON.load_default_options. - Deprecate
JSON.unsafe_load_default_options. - Deprecate
JSON.dump_default_options. - Deprecate
Kernel#j - Deprecate
Kernel#jj - Remove outdated
JSON.iconv. - Remove
Class#json_creatable?monkey patch. - Remove deprecated
JSON.restoremethod. - Remove deprecated
JSON.unparsemethod. - Remove deprecated
JSON.fast_unparsemethod. - Remove deprecated
JSON.pretty_unparsemethod. - Remove deprecated
JSON::UnparserErrorconstant. - Remove outdated
JSON::MissingUnicodeSupportconstant.
Full Changelog: https://github.com/ruby/json/compare/v2.10.2...v2.11.0
- Ruby
Published by byroot over 1 year ago
https://github.com/ruby/json - v2.10.2
What's Changed
- Fix a potential crash in the C extension parser.
- Raise a ParserError on all incomplete unicode escape sequence. This was the behavior until
2.10.0unadvertently changed it. - Ensure document snippets that are included in parser errors don't include truncated multibyte characters.
- Ensure parser error snippets are valid UTF-8.
- Fix
JSON::GeneratorError#detailed_messageon Ruby < 3.2
Full Changelog: https://github.com/ruby/json/compare/v2.10.1...v2.10.2
- Ruby
Published by byroot over 1 year ago
https://github.com/ruby/json - v2.10.1
What's Changed
- Fix a compatibility issue with
MultiJson.dump(obj, pretty: true)by @byroot in https://github.com/ruby/json/pull/749
Full Changelog: https://github.com/ruby/json/compare/v2.10.0...v2.10.1
- Ruby
Published by byroot over 1 year ago
https://github.com/ruby/json - v2.10.0
What's Changed
strict: truenow accept symbols as values. Previously they'd only be accepted as hash keys.- The C extension Parser has been entirely reimplemented from scratch.
- Introduced
JSON::Coderas a new API allowing to customize how non native types are serialized in a non-global way. - Introduced
JSON::Fragmentto allow assembling cached fragments in a safe way. - The Java implementation of the generator received many optimizations.
Full Changelog: https://github.com/ruby/json/compare/v2.9.1...v2.10.0
- Ruby
Published by byroot over 1 year ago
https://github.com/ruby/json - v2.9.1
What's Changed
- Add support for Solaris 10 which lacks strnlen()
- Ruby
Published by byroot almost 2 years ago
https://github.com/ruby/json - v2.9.1
What's Changed
- Add support for Solaris 10 which lacks strnlen()
- Ruby
Published by byroot almost 2 years ago
https://github.com/ruby/json - v2.9.0
What's Changed
- Fix C implementation of
script_safeescaping to not confuse some other 3 wide characters with\u2028and\u2029.
e.g.JSON.generate(["倩", "瀨"], script_safe: true)would generate the wrong JSON. JSON.dump(object, some_io)now write into the IO in chunks while previously it would buffer the entire JSON before writing.JSON::GeneratorErrornow has a#invalid_objectattribute, making it easier to understand why an object tree cannot be serialized.- Numerous improvements to the JRuby extension.
Full Changelog: https://github.com/ruby/json/compare/v2.8.2...v2.9.0
- Ruby
Published by byroot almost 2 years ago
https://github.com/ruby/json - v2.8.2
What's Changed
- JSON.load_file: explictly load the file as UTF-8
Full Changelog: https://github.com/ruby/json/compare/v2.8.1...v2.8.2
- Ruby
Published by byroot almost 2 years ago
https://github.com/ruby/json - v2.8.1
- Fix the
javaversion of the package to include the extension implementation. Only concerns JRuby.
Full Changelog: https://github.com/ruby/json/compare/v2.8.0...v2.8.1
- Ruby
Published by byroot almost 2 years ago
https://github.com/ruby/json - v2.8.0
What's Changed
- Emit a deprecation warning when
JSON.loadcreate custom types without thecreate_additionsoption being explictly enabled.- Prefer to use
JSON.unsafe_load(string)orJSON.load(string, create_additions: true).
- Prefer to use
- Emit a deprecation warning when serializing valid UTF-8 strings encoded in
ASCII_8BITakaBINARY. - Bump required Ruby version to 2.7.
- Add support for optionally parsing trailing commas, via
allow_trailing_comma: true, which in cunjunction with the
pre-existing support for comments, make it suitable to parsejsoncdocuments. - Many performance improvements to
JSON.parseandJSON.load, up to1.7xfaster on real world documents. - Some minor performance improvements to
JSON.dumpandJSON.generate.
Parsing performance
Parsing performance is improved by 50-70% on realistic benchmarks, and even more on micro-benchmarks: https://gist.github.com/casperisfine/cf4b3a0594fae24b7d0eb93daaf3841a
== Parsing activitypub.json (58160 bytes)
ruby 3.4.0dev (2024-11-06T07:59:09Z precompute-hash-wh.. 7943f98a8a) +YJIT +PRISM [arm64-darwin24]
Warming up --------------------------------------
json 2.7.2 638.000 i/100ms
oj 798.000 i/100ms
Oj::Parser 948.000 i/100ms
rapidjson 631.000 i/100ms
Calculating -------------------------------------
json 2.7.2 6.423k (± 1.3%) i/s (155.70 μs/i) - 32.538k in 5.067149s
oj 7.989k (± 1.0%) i/s (125.17 μs/i) - 40.698k in 5.094544s
Oj::Parser 9.472k (± 1.3%) i/s (105.58 μs/i) - 47.400k in 5.005119s
rapidjson 6.354k (± 1.1%) i/s (157.37 μs/i) - 32.181k in 5.064962s
Comparison:
json 2.8.0: 9510.0 i/s
Oj::Parser: 9471.9 i/s - same-ish: difference falls within error
oj: 7989.4 i/s - 1.19x slower
json 2.7.2: 6422.5 i/s - 1.48x slower
rapidjson: 6354.5 i/s - 1.50x slower
== Parsing twitter.json (567916 bytes)
ruby 3.4.0dev (2024-11-06T07:59:09Z precompute-hash-wh.. 7943f98a8a) +YJIT +PRISM [arm64-darwin24]
Warming up --------------------------------------
json 2.7.2 52.000 i/100ms
oj 64.000 i/100ms
Oj::Parser 76.000 i/100ms
rapidjson 57.000 i/100ms
Calculating -------------------------------------
json 2.7.2 526.860 (± 3.8%) i/s (1.90 ms/i) - 2.652k in 5.042680s
oj 631.234 (± 1.7%) i/s (1.58 ms/i) - 3.200k in 5.070973s
Oj::Parser 764.354 (± 3.5%) i/s (1.31 ms/i) - 3.876k in 5.077736s
rapidjson 579.085 (± 2.8%) i/s (1.73 ms/i) - 2.907k in 5.024620s
Comparison:
json 2.8.0: 884.0 i/s
Oj::Parser: 764.4 i/s - 1.16x slower
oj: 631.2 i/s - 1.40x slower
rapidjson: 579.1 i/s - 1.53x slower
json 2.7.2: 526.9 i/s - 1.68x slower
== Parsing citm_catalog.json (1727030 bytes)
ruby 3.4.0dev (2024-11-06T07:59:09Z precompute-hash-wh.. 7943f98a8a) +YJIT +PRISM [arm64-darwin24]
Warming up --------------------------------------
json 2.7.2 30.000 i/100ms
oj 35.000 i/100ms
Oj::Parser 45.000 i/100ms
rapidjson 40.000 i/100ms
Calculating -------------------------------------
json 2.7.2 304.584 (± 3.3%) i/s (3.28 ms/i) - 1.530k in 5.029021s
oj 358.572 (± 0.8%) i/s (2.79 ms/i) - 1.820k in 5.076123s
Oj::Parser 450.643 (± 3.1%) i/s (2.22 ms/i) - 2.295k in 5.098150s
rapidjson 395.304 (± 1.5%) i/s (2.53 ms/i) - 2.000k in 5.060537s
Comparison:
json 2.8.0: 449.8 i/s
Oj::Parser: 450.6 i/s - same-ish: difference falls within error
rapidjson: 395.3 i/s - 1.14x slower
oj: 358.6 i/s - 1.25x slower
json 2.7.2: 304.6 i/s - 1.48x slower
Full Changelog: https://github.com/ruby/json/compare/v2.7.3...v2.8.0
- Ruby
Published by byroot almost 2 years ago
https://github.com/ruby/json - v2.7.6
- Fix a regression in JSON.generate when dealing with Hash keys that are string subclasses, call
to_jsonon them.
Full Changelog: https://github.com/ruby/json/compare/v2.7.5...v2.7.6
- Ruby
Published by byroot almost 2 years ago
https://github.com/ruby/json - v2.7.5
What's Changed
- Fix a memory leak when
#to_jsonmethods raise an exception. - Gracefully handle formatting configs being set to
nilinstead of"". - Workaround another issue caused by conflicting versions of both
json_pureandjsonbeing loaded.
Full Changelog: https://github.com/ruby/json/compare/v2.7.4...v2.7.5
- Ruby
Published by byroot almost 2 years ago
https://github.com/ruby/json - v2.7.4
What's Changed
- Workaround a bug in 3.4.8 and older https://github.com/rubygems/rubygems/pull/6490.
This bug would cause some gems with native extension to fail during compilation. - Workaround different versions of
jsonandjson_purebeing loaded (not officially supported). - Make
json_pureRactor compatible.
Full Changelog: https://github.com/ruby/json/compare/v2.7.3...v2.7.4
- Ruby
Published by byroot almost 2 years ago
https://github.com/ruby/json - v2.7.3
What's Changed
- Numerous performance optimizations in
JSON.generateandJSON.dump(up to 2 times faster). - Limit the size of ParserError exception messages, only include up to 32 bytes of the unparseable source.
- Fix json-pure's
Object#to_jsonto accept non state arguments - Fix multiline comment support in
json-pure. - Fix
JSON.parseto no longer mutate the argument encoding when passed an ASCII-8BIT string. - Fix
String#to_jsonto raise on invalid encoding injson-pure. - Delete code that was based on CVTUTF.
- Use the pure-Ruby generator on TruffleRuby.
- Fix
strictmode injson-pureto not break on Integer.
JSON.dump Performance
JSON.dump is now much faster, and on par or faster than alternative implementations:
== Encoding citm_catalog.json (500298 bytes)
ruby 3.4.0preview2 (2024-10-07 master 32c733f57b) +YJIT +PRISM [arm64-darwin23]
Warming up --------------------------------------
json (2.7.3) 123.000 i/100ms
oj 124.000 i/100ms
Calculating -------------------------------------
json (2.7.3) 1.312k (± 1.8%) i/s (761.91 μs/i) - 6.642k in 5.062192s
oj 1.278k (± 2.0%) i/s (782.35 μs/i) - 6.448k in 5.046587s
Comparison:
json (2.7.2): 884.0 i/s
json (2.7.3): 1312.5 i/s - 1.48x faster
oj: 1278.2 i/s - 1.45x faster
== Encoding twitter.json (466906 bytes)
ruby 3.4.0preview2 (2024-10-07 master 32c733f57b) +YJIT +PRISM [arm64-darwin23]
Warming up --------------------------------------
json (2.7.3) 213.000 i/100ms
oj 222.000 i/100ms
Calculating -------------------------------------
json (2.7.3) 2.140k (± 2.8%) i/s (467.19 μs/i) - 10.863k in 5.079099s
oj 2.303k (± 3.2%) i/s (434.27 μs/i) - 11.544k in 5.018239s
Comparison:
json (2.7.2): 1250.5 i/s
oj: 2302.7 i/s - 1.84x faster
json (2.7.3): 2140.5 i/s - 1.71x faster
Full Changelog: https://github.com/ruby/json/compare/v2.7.2...v2.7.3
- Ruby
Published by byroot almost 2 years ago
https://github.com/ruby/json - v2.7.3.rc1
- Numerous performance optimizations in
JSON.generateandJSON.dump. - Limit the size of ParserError exception messages, only include up to 32 bytes of the unparseable source.
- Fix json-pure's
Object#to_jsonto accept non state arguments - Fix multiline comment support in
json-pure. - Fix
JSON.parseto no longer mutate the argument encoding when passed an ASCII-8BIT string. - Fix
String#to_jsonto raise on invalid encoding injson-pure. - Delete code that was based on CVTUTF.
- Use the pure-Ruby generator on TruffleRuby.
- Fix
strictmode injson-pureto not break on Integer.
- Ruby
Published by byroot almost 2 years ago
https://github.com/ruby/json - v2.7.2
What's Changed
- Use rb_sym2str instead of SYM2ID by @jhawthorn in https://github.com/flori/json/pull/561
- Fix memory leak when exception is raised during JSON generation by @peterzhu2118 in https://github.com/flori/json/pull/574
- Remove references to "19" methods in JRuby by @headius in https://github.com/flori/json/pull/576
- Make OpenStruct support as optional by @hsbt in https://github.com/flori/json/pull/565
- Autoload JSON::GenericObject to avoid require ostruct warning in Ruby 3.4 by @tompng in https://github.com/flori/json/pull/577
- Warn to install ostruct if json couldn't load it by @hsbt in https://github.com/flori/json/pull/578
New Contributors
- @mperham made their first contribution in https://github.com/flori/json/pull/571
- @peterzhu2118 made their first contribution in https://github.com/flori/json/pull/574
Full Changelog: https://github.com/flori/json/compare/v2.7.1...v2.7.2
- Ruby
Published by hsbt over 2 years ago
https://github.com/ruby/json - v2.7.1
What's Changed
Improved
- [DOC] RDoc for additions by @BurdetteLamar in https://github.com/flori/json/pull/557
Fixed
- JSON.dump: handle unenclosed hashes regression by @casperisfine in https://github.com/flori/json/pull/554
- Overload kwargs in JSON.dump by @k0kubun in https://github.com/flori/json/pull/556
- Fix JSON.dump overload combination by @tompng in https://github.com/flori/json/pull/558
Misc
- Remove needless encodings by @hsbt in https://github.com/flori/json/pull/559
- Unify versions by @hsbt in https://github.com/flori/json/pull/560
New Contributors
- @k0kubun made their first contribution in https://github.com/flori/json/pull/556
- @tompng made their first contribution in https://github.com/flori/json/pull/558
Full Changelog: https://github.com/flori/json/compare/v2.7.0...v2.7.1
- Ruby
Published by hsbt almost 3 years ago
https://github.com/ruby/json - v2.7.0
What's Changed
Improved
- Perf. improvements to Hash#to_json in pure implementation generator. by @vipulnsward in https://github.com/flori/json/pull/203
- Remove unnecessary initialization of create_id in JSON.parse() by @Watson1978 in https://github.com/flori/json/pull/454
Added
- Call
superinincludedhook by @paracycle in https://github.com/flori/json/pull/486 - Rename escape_slash in script_safe and also escape E+2028 and E+2029 by @casperisfine in https://github.com/flori/json/pull/525
- Add a
strictoption to Generator by @casperisfine in https://github.com/flori/json/pull/519
Fixed
- Fix homepage url in gemspec by @unasuke in https://github.com/flori/json/pull/508
- Fix dead link to Ragel in README by @okuramasafumi in https://github.com/flori/json/pull/509
- [DOC] Fix yet another dead link to Ragel by @nobu in https://github.com/flori/json/pull/510
- Fix "unexpected token" offset for Infinity by @jhawthorn in https://github.com/flori/json/pull/507
- Use ruby_xfree to free buffers by @casperisfine in https://github.com/flori/json/pull/518
Compatibility changes
- JRuby requires a minimum of Java 8 by @headius in https://github.com/flori/json/pull/516
- Rename JSON::ParseError to JSON:ParserError by @dalizard in https://github.com/flori/json/pull/530
- Removed code for Ruby 1.8 by @hsbt in https://github.com/flori/json/pull/540
- alias_method is private on Ruby 2.3 and 2.4 by @hsbt in https://github.com/flori/json/pull/541
- remove_method of Module is private at Ruby 2.3 and 2.4 by @hsbt in https://github.com/flori/json/pull/544
- [jruby] avoid using deprecated BigDecimal.new by @kares in https://github.com/flori/json/pull/546
- Always indent even if empty by @headius in https://github.com/flori/json/pull/517
Misc
- Update CI matrix by @hsbt in https://github.com/flori/json/pull/521
- Add missing changelog entries for 1.8.5 and 1.8.6 by @r7kamura in https://github.com/flori/json/pull/520
- Actions workflow - Add new OS's, Ruby 3.1, Ruby master, Windows by @MSP-Greg in https://github.com/flori/json/pull/491
- Skip unsupported test on JRuby by @nobu in https://github.com/flori/json/pull/532
- Skip BigDecimal tests when it's missing to load by @hsbt in https://github.com/flori/json/pull/533
- Simplify by @nobu in https://github.com/flori/json/pull/531
- Load extension ('json/ext') consistently in test_ext by @aeroastro in https://github.com/flori/json/pull/536
- Use test-unit-ruby-core gem by @hsbt in https://github.com/flori/json/pull/539
- [CI] Add Windows mswin job by @MSP-Greg in https://github.com/flori/json/pull/545
- Exclude truffleruby-head from Actions by @hsbt in https://github.com/flori/json/pull/551
- tests/ractor_test.rb: make assert_separately available by @lucaskanashiro in https://github.com/flori/json/pull/506
- Added changes for 2.7.0 and restore entries to 2.6.3 and 2.6.2 by @hsbt in https://github.com/flori/json/pull/552
New Contributors
- @unasuke made their first contribution in https://github.com/flori/json/pull/508
- @okuramasafumi made their first contribution in https://github.com/flori/json/pull/509
- @r7kamura made their first contribution in https://github.com/flori/json/pull/520
- @MSP-Greg made their first contribution in https://github.com/flori/json/pull/491
- @paracycle made their first contribution in https://github.com/flori/json/pull/486
- @dalizard made their first contribution in https://github.com/flori/json/pull/530
- @aeroastro made their first contribution in https://github.com/flori/json/pull/536
- @jhawthorn made their first contribution in https://github.com/flori/json/pull/507
- @lucaskanashiro made their first contribution in https://github.com/flori/json/pull/506
- @Watson1978 made their first contribution in https://github.com/flori/json/pull/454
Full Changelog: https://github.com/flori/json/compare/v2.6.3...v2.7.0
- Ruby
Published by hsbt almost 3 years ago
https://github.com/ruby/json - v2.6.3
What's Changed
- bugfix json/pure mixing escaped with literal unicode raises Encoding::CompatibilityError by @notEthan in https://github.com/flori/json/pull/483
- Stop including the parser source LINE in exceptions by @casperisfine in https://github.com/flori/json/pull/470
New Contributors
- @notEthan made their first contribution in https://github.com/flori/json/pull/483
Full Changelog: https://github.com/flori/json/compare/v2.6.2...v2.6.3
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v2.6.2
What's Changed
- Remove unknown keyword arg from DateTime.parse by @headius in https://github.com/flori/json/pull/488
- Ignore java artifacts by @hsbt in https://github.com/flori/json/pull/489
- Fix parser bug for empty string allocation by @abrom in https://github.com/flori/json/pull/496
New Contributors
- @abrom made their first contribution in https://github.com/flori/json/pull/496
Full Changelog: https://github.com/flori/json/compare/v2.6.1...v2.6.2
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v2.6.1
What's Changed
- Restore and update changes by @casperisfine in https://github.com/flori/json/pull/480
- Bump JSON::VERSION to 2.6.0. by @simi in https://github.com/flori/json/pull/485
New Contributors
- @simi made their first contribution in https://github.com/flori/json/pull/485
Full Changelog: https://github.com/flori/json/compare/v2.6.0...v2.6.1
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v2.6.0
What's Changed
- Use GitHub Actions for CI by @mrkn in https://github.com/flori/json/pull/463
- Use
rb_enc_interned_strif available by @casperisfine in https://github.com/flori/json/pull/451 - Fix incorrect
#position in API doc by @ybiquitous in https://github.com/flori/json/pull/461 - Fix some typos by @kamipo in https://github.com/flori/json/pull/467
- parser: fix warnings against code generated by ragel by @nobu in https://github.com/flori/json/pull/469
- Fix GitHub Actions by @hsbt in https://github.com/flori/json/pull/471
- Cleanup gemspec by @hsbt in https://github.com/flori/json/pull/473
New Contributors
- @ybiquitous made their first contribution in https://github.com/flori/json/pull/461
- @kamipo made their first contribution in https://github.com/flori/json/pull/467
Full Changelog: https://github.com/flori/json/compare/v2.5.1...v2.6.0
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v2.5.1
What's Changed
- Added backword compatible for < json-2.5 by @hsbt in https://github.com/flori/json/pull/459
Full Changelog: https://github.com/flori/json/compare/v2.5.0...v2.5.1
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v2.5.0
What's Changed
- Prepare to release Ruby 3.0 by @hsbt in https://github.com/flori/json/pull/457
Full Changelog: https://github.com/flori/json/compare/v2.4.1...v2.5.0
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v2.4.1
What's Changed
- Move options from #generate and #parse to common area by @BurdetteLamar in https://github.com/flori/json/pull/430
- Do not add a relative path to $LOAD_PATH by @mame in https://github.com/flori/json/pull/431
- test/json/json_fixtures_test.rb: Prevent an "out of range" warning by @mame in https://github.com/flori/json/pull/432
- Enhance RDoc for JSON.parse by @BurdetteLamar in https://github.com/flori/json/pull/433
- [CI] setup supported JRubies to test against by @kares in https://github.com/flori/json/pull/372
- Fixed unexpected illegal/malformed utf-8 error by @nobu in https://github.com/flori/json/pull/385
- RDoc example for JSON.load by @BurdetteLamar in https://github.com/flori/json/pull/434
- unify json-java gemspec with the baseline by @kares in https://github.com/flori/json/pull/435
- [test] properly 'skip' test on JRuby by @kares in https://github.com/flori/json/pull/436
- RDoc for JSON.load with proc by @BurdetteLamar in https://github.com/flori/json/pull/439
- Nodoc for recurse_proc by @BurdetteLamar in https://github.com/flori/json/pull/442
- Add an option to escape forward slash character by @casperisfine in https://github.com/flori/json/pull/405
- bundle the LICENSE file in the gem by @jfeltesse-mdsol in https://github.com/flori/json/pull/444
- Enhanced RDoc for JSON.dump by @BurdetteLamar in https://github.com/flori/json/pull/443
- Fix pure parser with unclosed arrays / objects [Fix #314] by @marcandre in https://github.com/flori/json/pull/425
- Partial compliance with doc/method_documentation.rdoc by @BurdetteLamar in https://github.com/flori/json/pull/446
- Fix JSON.load_file doc by @casperisfine in https://github.com/flori/json/pull/448
- Fix an issue with generate_pretty and empty objects in the Ruby and Java implementations by @chrisseaton in https://github.com/flori/json/pull/449
- Implement a freeze: parser option by @casperisfine in https://github.com/flori/json/pull/447
- Backport ruby core by @hsbt in https://github.com/flori/json/pull/450
- gemspec: Fix a typo in RDoc title by @olleolleolle in https://github.com/flori/json/pull/455
New Contributors
- @mame made their first contribution in https://github.com/flori/json/pull/431
- @jfeltesse-mdsol made their first contribution in https://github.com/flori/json/pull/444
- @chrisseaton made their first contribution in https://github.com/flori/json/pull/449
Full Changelog: https://github.com/flori/json/compare/v2.3.1...v2.4.1
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v2.4.0
What's Changed
- Move options from #generate and #parse to common area by @BurdetteLamar in https://github.com/flori/json/pull/430
- Do not add a relative path to $LOAD_PATH by @mame in https://github.com/flori/json/pull/431
- test/json/json_fixtures_test.rb: Prevent an "out of range" warning by @mame in https://github.com/flori/json/pull/432
- Enhance RDoc for JSON.parse by @BurdetteLamar in https://github.com/flori/json/pull/433
- [CI] setup supported JRubies to test against by @kares in https://github.com/flori/json/pull/372
- Fixed unexpected illegal/malformed utf-8 error by @nobu in https://github.com/flori/json/pull/385
- RDoc example for JSON.load by @BurdetteLamar in https://github.com/flori/json/pull/434
- unify json-java gemspec with the baseline by @kares in https://github.com/flori/json/pull/435
- [test] properly 'skip' test on JRuby by @kares in https://github.com/flori/json/pull/436
- RDoc for JSON.load with proc by @BurdetteLamar in https://github.com/flori/json/pull/439
- Nodoc for recurse_proc by @BurdetteLamar in https://github.com/flori/json/pull/442
- Add an option to escape forward slash character by @casperisfine in https://github.com/flori/json/pull/405
- bundle the LICENSE file in the gem by @jfeltesse-mdsol in https://github.com/flori/json/pull/444
- Enhanced RDoc for JSON.dump by @BurdetteLamar in https://github.com/flori/json/pull/443
- Fix pure parser with unclosed arrays / objects [Fix #314] by @marcandre in https://github.com/flori/json/pull/425
- Partial compliance with doc/method_documentation.rdoc by @BurdetteLamar in https://github.com/flori/json/pull/446
- Fix JSON.load_file doc by @casperisfine in https://github.com/flori/json/pull/448
- Fix an issue with generate_pretty and empty objects in the Ruby and Java implementations by @chrisseaton in https://github.com/flori/json/pull/449
- Implement a freeze: parser option by @casperisfine in https://github.com/flori/json/pull/447
- Backport ruby core by @hsbt in https://github.com/flori/json/pull/450
New Contributors
- @mame made their first contribution in https://github.com/flori/json/pull/431
- @jfeltesse-mdsol made their first contribution in https://github.com/flori/json/pull/444
- @chrisseaton made their first contribution in https://github.com/flori/json/pull/449
Full Changelog: https://github.com/flori/json/compare/v2.3.1...v2.4.0
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v2.3.1
What's Changed
- keyword argument is provided after Ruby 2.0+ by @hsbt in https://github.com/flori/json/pull/396
- Remove invalid JSON.generate description from JSON module rdoc by @jeremyevans in https://github.com/flori/json/pull/384
- Update gemspec by @hsbt in https://github.com/flori/json/pull/398
- Add :nodoc: for GeneratorMethods by @zverok in https://github.com/flori/json/pull/349
- add metadata for rubygems.org by @noraj in https://github.com/flori/json/pull/379
- Enhance generic JSON and #generate docs by @zverok in https://github.com/flori/json/pull/347
- Test with TruffleRuby in CI by @eregon in https://github.com/flori/json/pull/402
- Spelling and grammar fixes for comments. by @jkanywhere in https://github.com/flori/json/pull/191
- baseline changes to help (JRuby) development by @kares in https://github.com/flori/json/pull/371
- fixtures/ are not being tested... by @marcandre in https://github.com/flori/json/pull/416
- Cleanup gemspec by @marcandre in https://github.com/flori/json/pull/415
- Sync ruby by @nobu in https://github.com/flori/json/pull/418
- Use frozen string for hash key by @marcandre in https://github.com/flori/json/pull/420
- Rdoc enhancements by @BurdetteLamar in https://github.com/flori/json/pull/413
- Added :call-seq: to RDoc for some methods by @BurdetteLamar in https://github.com/flori/json/pull/422
- Small typo fix by @marcandre in https://github.com/flori/json/pull/423
- Update Changes for 2.3.0 [Fixes #397] by @marcandre in https://github.com/flori/json/pull/424
- Make changes more precise [#424] by @marcandre in https://github.com/flori/json/pull/428
- Trivial whitespace fix by @marcandre in https://github.com/flori/json/pull/426
- Remove generate task for gemspec by @hsbt in https://github.com/flori/json/pull/429
- Add
load_fileandload_file!methods, with tests. Fixes issue #386. by @keithrbennett in https://github.com/flori/json/pull/387
New Contributors
- @jeremyevans made their first contribution in https://github.com/flori/json/pull/384
- @zverok made their first contribution in https://github.com/flori/json/pull/349
- @noraj made their first contribution in https://github.com/flori/json/pull/379
- @eregon made their first contribution in https://github.com/flori/json/pull/402
- @jkanywhere made their first contribution in https://github.com/flori/json/pull/191
- @keithrbennett made their first contribution in https://github.com/flori/json/pull/387
Full Changelog: https://github.com/flori/json/compare/v2.3.0...v2.3.1
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v2.3.0
What's Changed
- README: Docs at rubydoc.info, not on rubyforge by @olleolleolle in https://github.com/flori/json/pull/376
- Remove RubyForge homepage reference by @olleolleolle in https://github.com/flori/json/pull/378
- Add ascii_only option to JSON::Ext::Generator::State.new. by @sho-h in https://github.com/flori/json/pull/367
- Gemspec: Drop EOL'd property rubyforge_project by @olleolleolle in https://github.com/flori/json/pull/381
- Backport ruby core changes by @hsbt in https://github.com/flori/json/pull/388
- Minor cleanup for ruby 2.7 warnings and failures. by @zenspider in https://github.com/flori/json/pull/389
- relax test-unit version for old ruby by @hsbt in https://github.com/flori/json/pull/390
- Bump versions for 2.3.0. by @headius in https://github.com/flori/json/pull/391
New Contributors
- @zenspider made their first contribution in https://github.com/flori/json/pull/389
Full Changelog: https://github.com/flori/json/compare/v2.2.0...v2.3.0
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v2.2.0
What's Changed
- Fixed json_create example to use create_additions = true by @perlun in https://github.com/flori/json/pull/331
- README: Fixed code examples to start in the left-most column by @perlun in https://github.com/flori/json/pull/330
- Added missing bigdecimal for its test by @hsbt in https://github.com/flori/json/pull/335
- README: Added note about json/add/exception by @perlun in https://github.com/flori/json/pull/332
- fix link in travis widget by @lostapathy in https://github.com/flori/json/pull/340
- [CI] Test against Ruby 2.5 by @nicolasleger in https://github.com/flori/json/pull/352
- Removed control characters from gemspec. by @hsbt in https://github.com/flori/json/pull/360
- Fix typos in README.md by @yui-knk in https://github.com/flori/json/pull/363
- Backport from Ruby core repository by @hsbt in https://github.com/flori/json/pull/359
- Fix for bigdecimal updates by @mrkn in https://github.com/flori/json/pull/362
- Fix a typo. by @sho-h in https://github.com/flori/json/pull/369
- fix JSON::Generator::State#ascii_only? document same as lib/json/pure/generator.rb. by @sho-h in https://github.com/flori/json/pull/366
New Contributors
- @lostapathy made their first contribution in https://github.com/flori/json/pull/340
- @nicolasleger made their first contribution in https://github.com/flori/json/pull/352
- @yui-knk made their first contribution in https://github.com/flori/json/pull/363
Full Changelog: https://github.com/flori/json/compare/v2.1.0...v2.2.0
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v2.1.0
What's Changed
- README.md typo fix by @kaworu in https://github.com/flori/json/pull/300
- Correct documentation of OpenStruct.json_create by @kyanagi in https://github.com/flori/json/pull/301
- No Bignum by @nobu in https://github.com/flori/json/pull/302
- CHANGES.md: Fixed typo by @perlun in https://github.com/flori/json/pull/306
- Actually test BigDecimal parsing. by @xb in https://github.com/flori/json/pull/321
- Back-out change of directory of json-java.gemspec. by @xb in https://github.com/flori/json/pull/323
New Contributors
- @kaworu made their first contribution in https://github.com/flori/json/pull/300
- @kyanagi made their first contribution in https://github.com/flori/json/pull/301
- @xb made their first contribution in https://github.com/flori/json/pull/321
Full Changelog: https://github.com/flori/json/compare/v2.0.2...v2.1.0
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v2.0.4
Full Changelog: https://github.com/flori/json/compare/v2.0.3...v2.0.4
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v2.0.3
What's Changed
- README.md typo fix by @kaworu in https://github.com/flori/json/pull/300
- Correct documentation of OpenStruct.json_create by @kyanagi in https://github.com/flori/json/pull/301
- No Bignum by @nobu in https://github.com/flori/json/pull/302
- CHANGES.md: Fixed typo by @perlun in https://github.com/flori/json/pull/306
New Contributors
- @kaworu made their first contribution in https://github.com/flori/json/pull/300
- @kyanagi made their first contribution in https://github.com/flori/json/pull/301
Full Changelog: https://github.com/flori/json/compare/v2.0.2...v2.0.3
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v2.0.2
What's Changed
- (README.md) Now complies to newest JSON RFC 7159. by @chottoda in https://github.com/flori/json/pull/290
- Fix typo "improvemed" => "improved" by @lencioni in https://github.com/flori/json/pull/293
- Suppress a warning by @nobu in https://github.com/flori/json/pull/292
- Fix inconsistency usage for assertion methods by @hsbt in https://github.com/flori/json/pull/294
New Contributors
- @chottoda made their first contribution in https://github.com/flori/json/pull/290
- @lencioni made their first contribution in https://github.com/flori/json/pull/293
Full Changelog: https://github.com/flori/json/compare/v2.0.1...v2.0.2
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v2.0.1
Full Changelog: https://github.com/flori/json/compare/v2.0.0...v2.0.1
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v2.0.0
What's Changed
- Update README.md with formatting by @zeroed in https://github.com/flori/json/pull/278
- Remove comments from core classes in json/add by @stomar in https://github.com/flori/json/pull/283
- resize strings after parsing by @tenderlove in https://github.com/flori/json/pull/260
New Contributors
- @zeroed made their first contribution in https://github.com/flori/json/pull/278
- @stomar made their first contribution in https://github.com/flori/json/pull/283
- @tenderlove made their first contribution in https://github.com/flori/json/pull/260
Full Changelog: https://github.com/flori/json/compare/v1.8.3...v2.0.0
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.8.6
Full Changelog: https://github.com/flori/json/compare/v1.8.5...v1.8.6
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.8.5
Full Changelog: https://github.com/flori/json/compare/v1.8.3...v1.8.5
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.8.3
Full Changelog: https://github.com/flori/json/compare/v1.8.2...v1.8.3
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.8.2
Full Changelog: https://github.com/flori/json/compare/v1.8.1...v1.8.2
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.8.1
Full Changelog: https://github.com/flori/json/compare/v1.8.0...v1.8.1
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.8.0
Full Changelog: https://github.com/flori/json/compare/v1.7.7...v1.8.0
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.7.7
Full Changelog: https://github.com/flori/json/compare/v1.7.6...v1.7.7
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.7.6
Full Changelog: https://github.com/flori/json/compare/v1.7.5...v1.7.6
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.7.5
Full Changelog: https://github.com/flori/json/compare/v1.7.4...v1.7.5
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.7.4
Full Changelog: https://github.com/flori/json/compare/v1.7.3...v1.7.4
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.7.3
Full Changelog: https://github.com/flori/json/compare/v1.7.2...v1.7.3
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.7.2
Full Changelog: https://github.com/flori/json/compare/v1.7.1...v1.7.2
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.7.1
Full Changelog: https://github.com/flori/json/compare/v1.7.0...v1.7.1
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.7.0
Full Changelog: https://github.com/flori/json/compare/v1.6.7...v1.7.0
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.6.8
Full Changelog: https://github.com/flori/json/compare/v1.6.7...v1.6.8
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.6.7
Full Changelog: https://github.com/flori/json/compare/v1.6.5...v1.6.7
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.6.6
Full Changelog: https://github.com/flori/json/compare/v1.6.5...v1.6.6
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.6.5
Full Changelog: https://github.com/flori/json/compare/v1.6.4...v1.6.5
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.6.4
Full Changelog: https://github.com/flori/json/compare/v1.6.3...v1.6.4
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.6.3
Full Changelog: https://github.com/flori/json/compare/v1.6.2...v1.6.3
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.6.2
Full Changelog: https://github.com/flori/json/compare/v1.6.1...v1.6.2
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.6.1
Full Changelog: https://github.com/flori/json/compare/v1.6.0...v1.6.1
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.6.0
Full Changelog: https://github.com/flori/json/compare/v1.5.4...v1.6.0
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.5.5
Full Changelog: https://github.com/flori/json/compare/v1.5.4...v1.5.5
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.5.4
Full Changelog: https://github.com/flori/json/compare/v1.5.3...v1.5.4
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.5.3
Full Changelog: https://github.com/flori/json/compare/v1.5.2...v1.5.3
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.5.2
Full Changelog: https://github.com/flori/json/compare/v1.5.1...v1.5.2
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.5.1
Full Changelog: https://github.com/flori/json/compare/v1.5.0...v1.5.1
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.5.0
Full Changelog: https://github.com/flori/json/compare/v1.4.6...v1.5.0
- Ruby
Published by hsbt almost 4 years ago
https://github.com/ruby/json - v1.4.6-java
Full Changelog: https://github.com/flori/json/compare/v1.4.5...v1.4.6-java
- Ruby
Published by hsbt almost 4 years ago