/* * Document-method: parse_chunk * * call-seq: parse_chunk(string_chunk) * * +string_chunk+ can be a partial or full JSON string to push on the parser. * * This method will throw an exception if the +on_parse_complete+ callback hasn't been assigned yet. * The +on_parse_complete+ callback assignment is required so the user can handle objects that have been * parsed off the stream as they're found. */ static VALUE rb_yajl_parser_parse_chunk(VALUE self, VALUE chunk) {