Method: Yajl::Parser#initialize

Defined in:
ext/yajl/yajl_ext.c

#initialize(*args) ⇒ Object

call-seq: new([:symbolize_keys => true, [:allow_comments => false[, :check_utf8 => false]]])

:symbolize_keys will turn hash keys into Ruby symbols, defaults to false.

:allow_comments will turn on/off the check for comments inside the JSON stream, defaults to true.

:check_utf8 will validate UTF8 characters found in the JSON stream, defaults to true.



512
513
514
# File 'ext/yajl/yajl_ext.c', line 512

static VALUE rb_yajl_parser_init(int argc, VALUE * argv, VALUE self) {
    return self;
}