src/json.c

changeset 1079
4e1872151fb6
parent 1078
ffa8bb4e9288
child 1082
46cdc8689fc4
--- a/src/json.c	Thu Jan 02 20:58:32 2025 +0100
+++ b/src/json.c	Thu Jan 02 21:00:11 2025 +0100
@@ -923,9 +923,7 @@
     true,
     255,
     false,
-    4,
-    false,
-    80
+    4
 };
 
 CxJsonWriter cxJsonWriterCompact(void) {
@@ -938,9 +936,7 @@
         true,
         255,
         use_spaces,
-        4,
-        false,
-        80
+        4
     };
 }
 
@@ -1002,6 +998,7 @@
             }
             depth++;
             CxIterator iter = cxJsonObjIter(value);
+            // TODO: unsorted output - realize after implementing index array
             cx_foreach(CxJsonObjValue*, member, iter) {
                 // possible indentation
                 if (settings->pretty) {

mercurial