summaryrefslogtreecommitdiff
path: root/test/cases/multiple.json.gold
Commit message (Collapse)AuthorAgeFilesLines
* rework programmatic configuration of yajl. both generator and parser now ↵Lloyd Hilaiel2011-04-211-0/+1
| | | | have a yajl_XXX_config() function that accepts varargs so that configuration is simple, and new config options can be added in the future that preserve backwards binary compatibility. closes #23.
* o rework yajl apiLloyd Hilaiel2011-04-201-0/+3
- remove yajl_status_parse_incomplete, replace with three flag settings - yajl_allow_multiple_values - yajl_forbid_trailing_garbage - yajl_forbid_partial_values In the new model, callers must consistently call yajl_parse_complete and check it's return. Two new parse errors have been introduced: "premature EOF" and "trailing garbage". yajl_test.c demonstrates the simplifying effect on calling code. adds 3 flags to yajl_test -g forbids trailing garbage -p forbids partial values -m allows multiple values to be parsed. and complementary tests. lth: Addresses the majority of issue #24. gno is awesomesauce. Signed-off-by: Lloyd Hilaiel <lloyd@hilaiel.com>