mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-23 22:25:00 -07:00
Merge pull request #4430 from Wyr0X/patch-1
fix cbor.to_json always returning array of tuples for objects
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user