chadaustin / sajson

Lightweight, extremely high-performance JSON parser for C++11
MIT License
565 stars 41 forks source link

preserve the order of keys if SAJSON_UNSORTED_OBJECT_KEYS is defined #36

Closed wojdyr closed 7 years ago

wojdyr commented 7 years ago

A minimalistic implementation with working get_value_of_key(), although it may be a little confusing.

(I'll be off until September and may not be replying)

wojdyr commented 7 years ago

Yes, indeed. I modified it to use test.cpp compiled with -D SAJSON_UNSORTED_OBJECT_KEYS. I don't know scons well so I left out adding a second test binary; I tested it by uncommenting one line in SConscript.

chadaustin commented 7 years ago

I fixed up the SCons stuff and merged!