jansson/test
Petri Lehtinen 7f3018a4fb Refactor json_pack()
* Implement a "scanner" that reads the format string, maintaining state

* Split json_vnpack() to three separate functions for packing objects,
  arrays and simple values. This makes it more clear what is being
  packed, and the object and array structures become more evident.

* Make the skipping of ignored character simpler, i.e. skip ':' and
  ',' independent of their context

This patch shaves around 80 lines of code from the original
implementation.
2011-01-24 21:26:23 +02:00
..
bin Update copyright notices for 2011 2011-01-22 13:43:14 +02:00
scripts Update copyright notices for 2011 2011-01-22 13:43:14 +02:00
suites Refactor json_pack() 2011-01-24 21:26:23 +02:00
.gitignore Adds json_pack / json_unpack variadic functions. 2010-10-26 08:59:06 +03:00
Makefile.am Distribute some missing files 2010-01-21 21:48:31 +02:00
run-suites test/run-suites: Be less picky when searching for tests 2010-01-21 21:49:04 +02:00