diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-31 06:56:16 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-31 06:56:16 +0000 |
commit | c06658feba7ae82e175bac72f241029276e715a0 (patch) | |
tree | 1f3a28b4db912f15c3b1d5e54f10bec82ee6fe34 /ext/json/generator/generator.c | |
parent | 64e0cae2741c501e8558966096b4b139d945ca82 (diff) | |
download | ruby-c06658feba7ae82e175bac72f241029276e715a0.tar.gz |
* ext/json: Merge json gem v1.5.4 (3dab4c5a6a97fac03dac).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/json/generator/generator.c')
-rw-r--r-- | ext/json/generator/generator.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/json/generator/generator.c b/ext/json/generator/generator.c index 9a90d5f182..9ad037cd40 100644 --- a/ext/json/generator/generator.c +++ b/ext/json/generator/generator.c @@ -1001,6 +1001,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. + * * *quirks_mode*: Enables quirks_mode for parser, that is for example + * generating single JSON values instead of documents is possible. */ static VALUE cState_initialize(int argc, VALUE *argv, VALUE self) { |