<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/ext/json/generator/generator.c, branch v3_2_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[flori/json] Stop including the parser source __LINE__ in exceptions</title>
<updated>2022-07-29T10:10:10+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2021-05-20T10:40:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=66b52f046f3e4c5d24781a142f9633e07c42d6d9'/>
<id>66b52f046f3e4c5d24781a142f9633e07c42d6d9</id>
<content type='text'>
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.

https://github.com/flori/json/commit/de9eb1d28e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.

https://github.com/flori/json/commit/de9eb1d28e
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix GC compatibility: Don't stash encodings in global constants</title>
<updated>2021-02-01T20:20:34+00:00</updated>
<author>
<name>Aaron Patterson</name>
<email>tenderlove@ruby-lang.org</email>
</author>
<published>2021-02-01T19:10:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8ef30bcc047341b2b7e6ec9b545dda975cdd4ab2'/>
<id>8ef30bcc047341b2b7e6ec9b545dda975cdd4ab2</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>[json] Make json Ractor safe</title>
<updated>2020-12-21T13:10:43+00:00</updated>
<author>
<name>Kenta Murata</name>
<email>mrkn@mrkn.jp</email>
</author>
<published>2020-12-21T06:57:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=14d7d1df25bbefadfc385042d541b4afc31e4c1b'/>
<id>14d7d1df25bbefadfc385042d541b4afc31e4c1b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[json] Stop using prototype objects</title>
<updated>2020-12-21T13:10:33+00:00</updated>
<author>
<name>Kenta Murata</name>
<email>mrkn@mrkn.jp</email>
</author>
<published>2020-12-20T03:17:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=98cc15ed1e9193e17fad6b87cccf8f8b5ade7801'/>
<id>98cc15ed1e9193e17fad6b87cccf8f8b5ade7801</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add an option to escape forward slash character</title>
<updated>2020-09-25T08:28:42+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2020-01-30T11:48:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e1659af3724e2320e9f2f2bd7cf602686e8aa523'/>
<id>e1659af3724e2320e9f2f2bd7cf602686e8aa523</id>
<content type='text'>
Squashed commit of the following:

commit 26d181059989279a79c433cedcd893b4f52e42ee
Author: Francois Chagnon &lt;francois.chagnon@jadedpixel.com&gt;
Date:   Tue Sep 15 21:17:34 2015 +0000

    add config options for escape_slash

commit fa282334051b16df91ca097dd7304b46f3bc7719
Author: Francois Chagnon &lt;francois.chagnon@jadedpixel.com&gt;
Date:   Mon Feb 9 21:09:33 2015 +0000

    add forward slash to escape character
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Squashed commit of the following:

commit 26d181059989279a79c433cedcd893b4f52e42ee
Author: Francois Chagnon &lt;francois.chagnon@jadedpixel.com&gt;
Date:   Tue Sep 15 21:17:34 2015 +0000

    add config options for escape_slash

commit fa282334051b16df91ca097dd7304b46f3bc7719
Author: Francois Chagnon &lt;francois.chagnon@jadedpixel.com&gt;
Date:   Mon Feb 9 21:09:33 2015 +0000

    add forward slash to escape character
</pre>
</div>
</content>
</entry>
<entry>
<title>[flori/json] Typo fix</title>
<updated>2020-07-01T09:47:51+00:00</updated>
<author>
<name>Marc-Andre Lafortune</name>
<email>github@marc-andre.ca</email>
</author>
<published>2020-06-30T04:28:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=26041da2fbca4cfeffaee13b66f90310d5d72e18'/>
<id>26041da2fbca4cfeffaee13b66f90310d5d72e18</id>
<content type='text'>
https://github.com/flori/json/commit/26c1769969
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/flori/json/commit/26c1769969
</pre>
</div>
</content>
</entry>
<entry>
<title>[flori/json] Add :nodoc: for GeneratorMethods</title>
<updated>2020-01-06T06:13:50+00:00</updated>
<author>
<name>zverok</name>
<email>zverok.offline@gmail.com</email>
</author>
<published>2018-03-08T18:32:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7f1e3a7b7ceb6e5bdfee13da50588d855156b7e0'/>
<id>7f1e3a7b7ceb6e5bdfee13da50588d855156b7e0</id>
<content type='text'>
https://github.com/flori/json/commit/2f3f44c180
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/flori/json/commit/2f3f44c180
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused constant.</title>
<updated>2019-10-17T20:35:26+00:00</updated>
<author>
<name>Aaron Patterson</name>
<email>tenderlove@ruby-lang.org</email>
</author>
<published>2019-10-17T20:35:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1d564acedc820e91c585cb4850844a09f9a6af96'/>
<id>1d564acedc820e91c585cb4850844a09f9a6af96</id>
<content type='text'>
This constant isn't used, so lets remove it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This constant isn't used, so lets remove it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Look up constant instead of caching in a global</title>
<updated>2019-10-17T20:30:09+00:00</updated>
<author>
<name>Aaron Patterson</name>
<email>tenderlove@ruby-lang.org</email>
</author>
<published>2019-10-17T20:30:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9026e12f93bb0f3f63d7449cdb5eabb2e660088f'/>
<id>9026e12f93bb0f3f63d7449cdb5eabb2e660088f</id>
<content type='text'>
The global can go bad if the compactor runs, so we need to look up the
constant instead of caching it in a global.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The global can go bad if the compactor runs, so we need to look up the
constant instead of caching it in a global.
</pre>
</div>
</content>
</entry>
<entry>
<title>[flori/json] Add ascii_only option to JSON::Ext::Generator::State.new.</title>
<updated>2019-10-14T10:54:49+00:00</updated>
<author>
<name>Sho Hashimoto</name>
<email>sho.hsmt@gmail.com</email>
</author>
<published>2019-01-08T00:12:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=308bbb4e10d247063889ebd9ba957e62f17978a5'/>
<id>308bbb4e10d247063889ebd9ba957e62f17978a5</id>
<content type='text'>
https://github.com/flori/json/commit/0e99a9aac5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/flori/json/commit/0e99a9aac5
</pre>
</div>
</content>
</entry>
</feed>
