jansson/test/suites/api
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
..
check-exports Make json_error_t transparent again 2010-10-26 21:20:34 +03:00
Makefile.am Adds json_pack / json_unpack variadic functions. 2010-10-26 08:59:06 +03:00
run Update copyright notices for 2011 2011-01-22 13:43:14 +02:00
test_array.c Update copyright notices for 2011 2011-01-22 13:43:14 +02:00
test_copy.c Update copyright notices for 2011 2011-01-22 13:43:14 +02:00
test_dump.c Update copyright notices for 2011 2011-01-22 13:43:14 +02:00
test_equal.c Update copyright notices for 2011 2011-01-22 13:43:14 +02:00
test_load.c Update copyright notices for 2011 2011-01-22 13:43:14 +02:00
test_number.c Update copyright notices for 2011 2011-01-22 13:43:14 +02:00
test_object.c Update copyright notices for 2011 2011-01-22 13:43:14 +02:00
test_pack.c Refactor json_pack() 2011-01-24 21:26:23 +02:00
test_simple.c Update copyright notices for 2011 2011-01-22 13:43:14 +02:00
test_unpack.c Unify style 2011-01-24 21:14:55 +02:00
util.h Update copyright notices for 2011 2011-01-22 13:43:14 +02:00