mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[flori/json] Add ascii_only option to JSON::Ext::Generator::State.new.
https://github.com/flori/json/commit/0e99a9aac5
This commit is contained in:
parent
98a9445db9
commit
308bbb4e10
1 changed files with 2 additions and 0 deletions
|
@ -1025,6 +1025,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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue