ruby-changes:58243
From: Sho <ko1@a...>
Date: Mon, 14 Oct 2019 20:24:48 +0900 (JST)
Subject: [ruby-changes:58243] 308bbb4e10 (master): [flori/json] Add ascii_only option to JSON::Ext::Generator::State.new.
https://git.ruby-lang.org/ruby.git/commit/?id=308bbb4e10 From 308bbb4e10d247063889ebd9ba957e62f17978a5 Mon Sep 17 00:00:00 2001 From: Sho Hashimoto <sho.hsmt@g...> Date: Tue, 8 Jan 2019 09:12:05 +0900 Subject: [flori/json] Add ascii_only option to JSON::Ext::Generator::State.new. https://github.com/flori/json/commit/0e99a9aac5 diff --git a/ext/json/generator/generator.c b/ext/json/generator/generator.c index 9bbda28..443b4d3 100644 --- a/ext/json/generator/generator.c +++ b/ext/json/generator/generator.c @@ -1025,6 +1025,8 @@ static VALUE cState_generate(VALUE self, VALUE obj) https://github.com/ruby/ruby/blob/trunk/ext/json/generator/generator.c#L1025 * * *allow_nan*: true if NaN, Infinity, and -Infinity should be * generated, otherwise an exception is thrown, if these values are * encountered. This options defaults to false. + * * *ascii_only*: true if only ASCII characters should be generated. This + * ontions defaults to false. * * *buffer_initial_length*: sets the initial length of the generator's * internal buffer. */ -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/