<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/ext/json, branch v4.0.3</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] Release 2.18.0</title>
<updated>2025-12-11T10:58:31+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2025-12-11T10:55:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6b469b7e40f94f25b50463de2190d540d646e3f1'/>
<id>6b469b7e40f94f25b50463de2190d540d646e3f1</id>
<content type='text'>
https://github.com/ruby/json/commit/1cdd2122d5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/json/commit/1cdd2122d5
</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] Release 2.17.1</title>
<updated>2025-12-04T08:13:03+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2025-12-04T08:12:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d343968ec3a899a29ff4e330dc914d67972ebe85'/>
<id>d343968ec3a899a29ff4e330dc914d67972ebe85</id>
<content type='text'>
https://github.com/ruby/json/commit/e5e4fd558e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/json/commit/e5e4fd558e
</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] Release 2.17.0</title>
<updated>2025-12-03T15:25:29+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2025-12-03T15:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=94581b1ffde5e2afeba4631152955c18ec52ccf0'/>
<id>94581b1ffde5e2afeba4631152955c18ec52ccf0</id>
<content type='text'>
https://github.com/ruby/json/commit/4bdb2d14fe
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/json/commit/4bdb2d14fe
</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] 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] Fix macro arguments</title>
<updated>2025-12-03T02:19:06+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-12-03T01:56:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=28d9493b98c7fef39845393ea00ef5eb6947091b'/>
<id>28d9493b98c7fef39845393ea00ef5eb6947091b</id>
<content type='text'>
`ALWAYS_INLINE()` and `NOINLINE()` are defined with one argument.

https://github.com/ruby/json/commit/8fb727901e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`ALWAYS_INLINE()` and `NOINLINE()` are defined with one argument.

https://github.com/ruby/json/commit/8fb727901e
</pre>
</div>
</content>
</entry>
</feed>
