Skip to content

Commit 70c5640

Browse files
committed
Preserve root keys order
1 parent 27be8ff commit 70c5640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/dumpers/schemas/json_exporter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ void Dump(const std::vector<IntermediateSchemaEnum>& enums, const std::vector<In
232232
{
233233
spdlog::info("Dumping schemas to json");
234234

235-
json root;
235+
nlohmann::ordered_json root;
236236
json classesArray = json::array();
237237
json enumsArray = json::array();
238238

0 commit comments

Comments
 (0)