summaryrefslogtreecommitdiff
path: root/examples/server/server.cpp
diff options
context:
space:
mode:
authorOlivier Chafik <ochafik@users.noreply.github.com>2024-03-22 13:07:44 +0000
committerGitHub <noreply@github.com>2024-03-22 15:07:44 +0200
commit72114edf068a9b2f54d3b09e9a198f611be397e8 (patch)
tree0614f917e7ecd6a9c86dbcebd43ce4161dea8997 /examples/server/server.cpp
parent2f0e81e053b41ca28e73a841e7bdbf9820baaa57 (diff)
json-schema-to-grammar : fix order of props + non-str const/enum (#6232)
* json: ordered json in server/schema converter to respect orig order * json: ws nits * json: support non-string const / enums
Diffstat (limited to 'examples/server/server.cpp')
-rw-r--r--examples/server/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/server/server.cpp b/examples/server/server.cpp
index 421fa6d4..27bd2dd7 100644
--- a/examples/server/server.cpp
+++ b/examples/server/server.cpp
@@ -30,7 +30,7 @@
#include <signal.h>
#include <memory>
-using json = nlohmann::json;
+using json = nlohmann::ordered_json;
bool server_verbose = false;
bool server_log_json = true;