Merge pull request #4430 from Wyr0X/patch-1

fix cbor.to_json always returning array of tuples for objects
This commit is contained in:
Laytan
2024-10-29 11:46:51 +01:00
committed by GitHub
+1 -1
View File
@@ -563,7 +563,7 @@ to_json :: proc(val: Value, allocator := context.allocator) -> (json.Value, mem.
case: return false
}
}
return false
return true
}
if keys_all_strings(v) {