<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/ext/json, branch v3_4_9</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] [ruby/json] Run `have_func` with the header providing the declarations</title>
<updated>2025-07-15T16:23:42+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-07-01T08:38:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d2264185fad4f272a8cb5b9865fd3cd47e5e8291'/>
<id>d2264185fad4f272a8cb5b9865fd3cd47e5e8291</id>
<content type='text'>
https://github.com/ruby/json/commit/95fb084027

https://github.com/ruby/json/commit/9d080765cc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/json/commit/95fb084027

https://github.com/ruby/json/commit/9d080765cc
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] Release 2.9.1</title>
<updated>2024-12-18T23:45:31+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2024-12-18T16:58:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=91efe7b64f7ff6f67b8c270d37db50590af3a979'/>
<id>91efe7b64f7ff6f67b8c270d37db50590af3a979</id>
<content type='text'>
https://github.com/ruby/json/commit/f745ec145e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/json/commit/f745ec145e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] Add support for Solaris 10 which lacks strnlen()</title>
<updated>2024-12-18T23:45:31+00:00</updated>
<author>
<name>Naohisa Goto</name>
<email>ngotogenome@gmail.com</email>
</author>
<published>2024-12-18T16:20:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=979b19b741b30b7e6f0bece5d11e9668297d2cd9'/>
<id>979b19b741b30b7e6f0bece5d11e9668297d2cd9</id>
<content type='text'>
Check for existence of strnlen() and use alternative code if it is missing.

https://github.com/ruby/json/commit/48d4bbc3a0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check for existence of strnlen() and use alternative code if it is missing.

https://github.com/ruby/json/commit/48d4bbc3a0
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] Release 2.9.0</title>
<updated>2024-12-05T08:16:22+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2024-12-03T08:22:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=811bc15c75ff12c1a89ecac0af7d097e9de73d2f'/>
<id>811bc15c75ff12c1a89ecac0af7d097e9de73d2f</id>
<content type='text'>
https://github.com/ruby/json/commit/e1f6456499
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/json/commit/e1f6456499
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] Fix generate(script_safe: true) to not confuse unrelated characters</title>
<updated>2024-12-05T08:16:22+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2024-12-03T08:11:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1510d72bec297047b5fd44eb89cf66cd4cb248e8'/>
<id>1510d72bec297047b5fd44eb89cf66cd4cb248e8</id>
<content type='text'>
Fix: https://github.com/ruby/json/issues/715

The first byte check was missing.

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

The first byte check was missing.

https://github.com/ruby/json/commit/93a7f8717d
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] Prevent a warning of "a candidate for gnu_printf format attribute"</title>
<updated>2024-11-27T14:35:20+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2024-11-27T02:18:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=209f8ba7c4ce0130fbdd3872b629a66f9c889910'/>
<id>209f8ba7c4ce0130fbdd3872b629a66f9c889910</id>
<content type='text'>
GCC 13 prints the following warning.

https://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20241127T001003Z.log.html.gz
```
compiling generator.c
generator.c: In function ‘raise_generator_error’:
generator.c:91:5: warning: function ‘raise_generator_error’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
   91 |     VALUE str = rb_vsprintf(fmt, args);
      |     ^~~~~
```

This change prevents the warning by specifying the format attribute.

https://github.com/ruby/json/commit/b8c1490846
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GCC 13 prints the following warning.

https://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20241127T001003Z.log.html.gz
```
compiling generator.c
generator.c: In function ‘raise_generator_error’:
generator.c:91:5: warning: function ‘raise_generator_error’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
   91 |     VALUE str = rb_vsprintf(fmt, args);
      |     ^~~~~
```

This change prevents the warning by specifying the format attribute.

https://github.com/ruby/json/commit/b8c1490846
</pre>
</div>
</content>
</entry>
<entry>
<title>JSON::GeneratorError expose invalid object</title>
<updated>2024-11-26T06:11:05+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2024-11-25T10:15:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=693a79352157ee925308f029e6c3c0cad202aee4'/>
<id>693a79352157ee925308f029e6c3c0cad202aee4</id>
<content type='text'>
Fix: https://github.com/ruby/json/issues/710

Makes it easier to debug why a given tree of objects can't
be dumped as JSON.

Co-Authored-By: Étienne Barrié &lt;etienne.barrie@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix: https://github.com/ruby/json/issues/710

Makes it easier to debug why a given tree of objects can't
be dumped as JSON.

Co-Authored-By: Étienne Barrié &lt;etienne.barrie@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] Stop using `rb_gc_mark_locations`</title>
<updated>2024-11-26T06:11:05+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2024-11-23T08:51:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6805e889354aa0eb6901c2a24c107fded436b4cc'/>
<id>6805e889354aa0eb6901c2a24c107fded436b4cc</id>
<content type='text'>
It's using `rb_gc_mark_maybe` under the hood, which isn't what
we need.

https://github.com/ruby/json/commit/e10d0bffcd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's using `rb_gc_mark_maybe` under the hood, which isn't what
we need.

https://github.com/ruby/json/commit/e10d0bffcd
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] JSON.dump: write directly into the provided IO</title>
<updated>2024-11-26T06:11:05+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2024-11-05T18:57:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ee0de3fd4e02f95f42fd3fe9cb18bcfe3e7e2bf1'/>
<id>ee0de3fd4e02f95f42fd3fe9cb18bcfe3e7e2bf1</id>
<content type='text'>
Ref: https://github.com/ruby/json/issues/524

Rather than to buffer everything in memory.

Unfortunately Ruby doesn't provide an API to write into
and IO without first allocating a string, which is a bit
wasteful.

https://github.com/ruby/json/commit/f017af6c0a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ref: https://github.com/ruby/json/issues/524

Rather than to buffer everything in memory.

Unfortunately Ruby doesn't provide an API to write into
and IO without first allocating a string, which is a bit
wasteful.

https://github.com/ruby/json/commit/f017af6c0a
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] Fix the BEWARE documentation in `load` and `unsafe_load`.</title>
<updated>2024-11-18T03:23:18+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2024-11-16T10:05:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9c6217fd05912388a629d8151f40484f8ff0a072'/>
<id>9c6217fd05912388a629d8151f40484f8ff0a072</id>
<content type='text'>
https://github.com/ruby/json/commit/2d62ec449f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/json/commit/2d62ec449f
</pre>
</div>
</content>
</entry>
</feed>
