jansson/test/suites
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
..
api Refactor json_pack() 2011-01-24 21:26:23 +02:00
encoding-flags Update copyright notices for 2011 2011-01-22 13:43:14 +02:00
invalid Update copyright notices for 2011 2011-01-22 13:43:14 +02:00
invalid-strip Update copyright notices for 2011 2011-01-22 13:43:14 +02:00
invalid-unicode Update copyright notices for 2011 2011-01-22 13:43:14 +02:00
valid Update copyright notices for 2011 2011-01-22 13:43:14 +02:00
valid-strip Update copyright notices for 2011 2011-01-22 13:43:14 +02:00
Makefile.am Refactor the test system 2009-12-16 22:45:29 +02:00