jansson/test/suites
Petri Lehtinen f18ef5144a Implement JSON_PRESERVE_ORDER encoding flag
With this encoding flag, the object key-value pairs in output are in
the same order in which they were first inserted into the object.

To make this possible, a key of an object is now a serial number plus
a string. An object keeps an increasing counter which is used to
assign serial number to the keys. Hashing, comparison and public API
functions were changed to act only on the string part, i.e. the serial
number is ignored everywhere else but in the encoder, where it's used
to order object keys if JSON_PRESERVE_ORDER flag is used.
2010-02-11 20:48:56 +02:00
..
api Implement JSON_PRESERVE_ORDER encoding flag 2010-02-11 20:48:56 +02:00
encoding-flags Implement JSON_PRESERVE_ORDER encoding flag 2010-02-11 20:48:56 +02:00
invalid Add year 2010 to copyright notices 2010-02-02 21:26:11 +02:00
invalid-strip Add year 2010 to copyright notices 2010-02-02 21:26:11 +02:00
invalid-unicode Add year 2010 to copyright notices 2010-02-02 21:26:11 +02:00
valid Add year 2010 to copyright notices 2010-02-02 21:26:11 +02:00
valid-strip Add year 2010 to copyright notices 2010-02-02 21:26:11 +02:00
Makefile.am Refactor the test system 2009-12-16 22:45:29 +02:00