diff options
author | Florian Frank <flori@ping.de> | 2019-07-13 11:26:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-13 11:26:08 +0200 |
commit | e96c87e130402ed63f6f6b0b683a911a552b43c4 (patch) | |
tree | 176c80caa138973a7b20f00254068926e56b1b40 /ext | |
parent | e29eee691f9ff01fd3c7daa0520a2c6f96f22848 (diff) | |
parent | 0e99a9aac5d589a0914886cc5a89583226212ac9 (diff) | |
download | json-e96c87e130402ed63f6f6b0b683a911a552b43c4.tar.gz |
Merge pull request #367 from sho-h/add-ascii_only-document
Add ascii_only option to JSON::Ext::Generator::State.new.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/json/ext/generator/generator.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/json/ext/generator/generator.c b/ext/json/ext/generator/generator.c index 73a7eb3..cc8c3a7 100644 --- a/ext/json/ext/generator/generator.c +++ b/ext/json/ext/generator/generator.c @@ -1016,6 +1016,8 @@ static VALUE cState_generate(VALUE self, VALUE obj) * * *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. */ |