projects
/
jansson.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement JSON_PRESERVE_ORDER encoding flag
[jansson.git]
/
test
/
bin
/
json_process.c
diff --git
a/test/bin/json_process.c
b/test/bin/json_process.c
index
809c4d4
..
77407e5
100644
(file)
--- a/
test/bin/json_process.c
+++ b/
test/bin/json_process.c
@@
-53,6
+53,9
@@
int main(int argc, char *argv[])
if(getenv_int("JSON_ENSURE_ASCII"))
flags |= JSON_ENSURE_ASCII;
+ if(getenv_int("JSON_PRESERVE_ORDER"))
+ flags |= JSON_PRESERVE_ORDER;
+
if(getenv_int("JSON_SORT_KEYS"))
flags |= JSON_SORT_KEYS;