aboutsummaryrefslogtreecommitdiff
path: root/core/encoding
diff options
context:
space:
mode:
authorLaytan <laytanlaats@hotmail.com>2024-10-29 11:46:51 +0100
committerGitHub <noreply@github.com>2024-10-29 11:46:51 +0100
commit47be77ead5f3891ce7c027965b9b4b7d2547df5f (patch)
tree6fd66c05ddbf938481900fe07efb84b117118ae2 /core/encoding
parent28a3a68dc917cd066328f069a6faf969d51011fd (diff)
parent31d5bc48a7f619f112e66e8cf49057f0811fac69 (diff)
Merge pull request #4430 from Wyr0X/patch-1
fix cbor.to_json always returning array of tuples for objects
Diffstat (limited to 'core/encoding')
-rw-r--r--core/encoding/cbor/cbor.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/encoding/cbor/cbor.odin b/core/encoding/cbor/cbor.odin
index 692be0020..8eb829ed3 100644
--- a/core/encoding/cbor/cbor.odin
+++ b/core/encoding/cbor/cbor.odin
@@ -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) {