summaryrefslogtreecommitdiff
path: root/ext/json/ext/parser/parser.c
diff options
context:
space:
mode:
authorFlorian Frank <flori@ping.de>2011-08-31 02:04:55 +0200
committerFlorian Frank <flori@ping.de>2011-08-31 02:22:41 +0200
commit3dab4c5a6a97fac03dacf19446b9ff2a6b397591 (patch)
tree9ddfb92c0c66aef0daaf40d57385e1e921c9a673 /ext/json/ext/parser/parser.c
parent0dd975a6ea54b63adc7af4d1fd40b8f9ab95cf46 (diff)
downloadjson-3dab4c5a6a97fac03dacf19446b9ff2a6b397591.tar.gz
Add some documentationv1.5.4
Diffstat (limited to 'ext/json/ext/parser/parser.c')
-rw-r--r--ext/json/ext/parser/parser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/json/ext/parser/parser.c b/ext/json/ext/parser/parser.c
index 4ea663c..d1d14c7 100644
--- a/ext/json/ext/parser/parser.c
+++ b/ext/json/ext/parser/parser.c
@@ -1618,6 +1618,9 @@ static VALUE convert_encoding(VALUE source)
* defaults to true.
* * *object_class*: Defaults to Hash
* * *array_class*: Defaults to Array
+ * * *quirks_mode*: Enables quirks_mode for parser, that is for example
+ * parsing single JSON values instead of documents is possible.
+ *
*/
static VALUE cParser_initialize(int argc, VALUE *argv, VALUE self)
{