diff options
author | Florian Frank <flori@ping.de> | 2011-06-09 13:40:11 +0200 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2011-06-09 13:40:11 +0200 |
commit | 8208d3f3936968ef6e853b1e2621bc0f3d4b1445 (patch) | |
tree | 98d2c6c47bd9bba4751560bd68076ea78b65c537 /ext/json | |
parent | 5bdc3ea455aca457022684a60040a936390deac5 (diff) | |
download | json-8208d3f3936968ef6e853b1e2621bc0f3d4b1445.tar.gz |
Apply patch by Cory Monty <cory.monty@gmail.com>.
Diffstat (limited to 'ext/json')
-rw-r--r-- | ext/json/ext/generator/generator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/json/ext/generator/generator.c b/ext/json/ext/generator/generator.c index 6505882..f71eebb 100644 --- a/ext/json/ext/generator/generator.c +++ b/ext/json/ext/generator/generator.c @@ -561,6 +561,7 @@ static VALUE mFalseClass_to_json(int argc, VALUE *argv, VALUE self) /* * call-seq: to_json(*) * + * Returns a JSON string for nil: 'null'. */ static VALUE mNilClass_to_json(int argc, VALUE *argv, VALUE self) { |