get rid of the expect_complete useless parameter to js_parser_assert(). See #8
beginning of the block, return a value from got_array_value(), remove unused variable declarations.
…g() and properly configure the print callback. Unit tests where also updated to deal with higher precision of doubles.
…ks to agentzh for the bug report and fix.
documentation, and fix some bugs. * Check for "not ok" output which now results in test failures. * Make yajl.null a full user data so that in string context it will be the string "null". * yajl.parser():value(value, type) type parameter was always "integer" for numerical values. Instead, it is now always "number" to better express the type of the value. * coerce object keys into strings before calling js_generator_string so as to avoid getting an error about a non-string argument. * yajl.generator() simply did not work since the meta-table __index meta method was not set, so we now set that meta-method. * yajl.generator() had an off by one bug that would cause it to error when passed a printer argument.
yajl that calls custom printer function.
Still need to implement the high level to_value() and to_string() methods.
…ng the parser portion.