<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/json, branch v4.0.4</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/json] Revert "Skip test failing with JRuby in CI"</title>
<updated>2025-12-11T15:32:48+00:00</updated>
<author>
<name>Étienne Barrié</name>
<email>etienne.barrie@gmail.com</email>
</author>
<published>2025-12-11T15:12:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3831a82d1916025f7dcdebcb9b66a0cd4fc98f00'/>
<id>3831a82d1916025f7dcdebcb9b66a0cd4fc98f00</id>
<content type='text'>
This reverts commit https://github.com/ruby/json/commit/b7e1734d9ca0.

https://github.com/ruby/json/commit/5793694ee6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit https://github.com/ruby/json/commit/b7e1734d9ca0.

https://github.com/ruby/json/commit/5793694ee6
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] Add `allow_control_characters` parsing option</title>
<updated>2025-12-11T10:53:15+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2025-12-11T10:09:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6ad4e6a298e7b5d0f925aacecc5d375968ebde15'/>
<id>6ad4e6a298e7b5d0f925aacecc5d375968ebde15</id>
<content type='text'>
While it's not allowed by the spec, some parsers like Oj do
accept it, and it can be blocking a transition.

Having this feature can help people migrate.

https://github.com/ruby/json/commit/3459499cb3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While it's not allowed by the spec, some parsers like Oj do
accept it, and it can be blocking a transition.

Having this feature can help people migrate.

https://github.com/ruby/json/commit/3459499cb3
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] Add a specific error for unescaped newlines</title>
<updated>2025-12-10T10:14:39+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2025-12-10T09:54:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=023c6d808a85bd8fb711ac3986972618037f12ad'/>
<id>023c6d808a85bd8fb711ac3986972618037f12ad</id>
<content type='text'>
It's the most likely control character so it's worth
giving a better error message for it.

https://github.com/ruby/json/commit/1da3fd9233
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's the most likely control character so it's worth
giving a better error message for it.

https://github.com/ruby/json/commit/1da3fd9233
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] Fix a regression in parsing of unicode surogate pairs</title>
<updated>2025-12-04T08:10:41+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2025-12-04T08:06:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d58a45d32ffe8afed1685e54017fb81cea898867'/>
<id>d58a45d32ffe8afed1685e54017fb81cea898867</id>
<content type='text'>
Fix: https://github.com/ruby/json/issues/912

In the case of surogate pairs we consume two backslashes, so
`json_next_backslash` need to ensure it's not sending us back in the
stream.

https://github.com/ruby/json/commit/0fce370c41
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix: https://github.com/ruby/json/issues/912

In the case of surogate pairs we consume two backslashes, so
`json_next_backslash` need to ensure it's not sending us back in the
stream.

https://github.com/ruby/json/commit/0fce370c41
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] Fix handling of depth</title>
<updated>2025-12-03T15:21:08+00:00</updated>
<author>
<name>Étienne Barrié</name>
<email>etienne.barrie@gmail.com</email>
</author>
<published>2025-12-03T14:43:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=208271e3723653cd4cb9cd2eb4a6c631eee0b09c'/>
<id>208271e3723653cd4cb9cd2eb4a6c631eee0b09c</id>
<content type='text'>
https://github.com/ruby/json/commit/ccca602274
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/json/commit/ccca602274
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] Fix duplicated test_unsafe_load_with_options test case</title>
<updated>2025-12-03T14:13:39+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2025-12-03T14:13:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=05383a1de2f2afe263ab894e851eca51e40bb543'/>
<id>05383a1de2f2afe263ab894e851eca51e40bb543</id>
<content type='text'>
https://github.com/ruby/json/commit/7b62fac525
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/json/commit/7b62fac525
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] Reproduce C ext behavior of ignoring mutated depth in arrays</title>
<updated>2025-12-03T13:49:05+00:00</updated>
<author>
<name>Étienne Barrié</name>
<email>etienne.barrie@gmail.com</email>
</author>
<published>2025-11-28T14:53:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=32c7c3c19aa7c9c3fda10a9520d29e244baeaa6d'/>
<id>32c7c3c19aa7c9c3fda10a9520d29e244baeaa6d</id>
<content type='text'>
https://github.com/ruby/json/commit/e0257b9f82
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/json/commit/e0257b9f82
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] Test and restore behavior around to_json changing depth</title>
<updated>2025-12-03T13:49:05+00:00</updated>
<author>
<name>Étienne Barrié</name>
<email>etienne.barrie@gmail.com</email>
</author>
<published>2025-11-27T15:12:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=54a73a57a292d8d7e88cadd3fd8454a3084a60e9'/>
<id>54a73a57a292d8d7e88cadd3fd8454a3084a60e9</id>
<content type='text'>
When serializing an Array, and one of the elements of the Array requires
calling `to_json`, if the depth is changed, it will be used for the next
entries, which wasn't the case before
https://github.com/ruby/json/commit/5abd43490714, and is not the case with
TruffleRuby and JRuby.

Additionally, with TruffleRuby and JRuby the state's depth after the
`to_json` call is used to close the Array, which isn't the case with
CRuby.

https://github.com/ruby/json/commit/386b36fde5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When serializing an Array, and one of the elements of the Array requires
calling `to_json`, if the depth is changed, it will be used for the next
entries, which wasn't the case before
https://github.com/ruby/json/commit/5abd43490714, and is not the case with
TruffleRuby and JRuby.

Additionally, with TruffleRuby and JRuby the state's depth after the
`to_json` call is used to close the Array, which isn't the case with
CRuby.

https://github.com/ruby/json/commit/386b36fde5
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] Improve `JSON.load` and `JSON.unsafe_load` to allow passing options as second argument</title>
<updated>2025-12-03T13:48:31+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2025-12-03T13:41:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4d377c8c2eedc42f274b3b2a841fa24d5b4c5541'/>
<id>4d377c8c2eedc42f274b3b2a841fa24d5b4c5541</id>
<content type='text'>
Otherwise it's very error prone.

https://github.com/ruby/json/commit/c54de70f90
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise it's very error prone.

https://github.com/ruby/json/commit/c54de70f90
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] Don't call to_json on the return value of as_json for Float::NAN</title>
<updated>2025-12-02T15:59:25+00:00</updated>
<author>
<name>Étienne Barrié</name>
<email>etienne.barrie@gmail.com</email>
</author>
<published>2025-12-02T14:45:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cc929bff7ddfeccf320c621a6ae0f106e76a52f0'/>
<id>cc929bff7ddfeccf320c621a6ae0f106e76a52f0</id>
<content type='text'>
https://github.com/ruby/json/commit/28c57df8f7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/json/commit/28c57df8f7
</pre>
</div>
</content>
</entry>
</feed>
