50cb8cc9e9
fix(zig-0.16): BREAKING adapt to std.json.ObjectMap becoming unmanaged
...
Remove JsonObjectExtractor because extract(&obj) for ObjectMap cannot work
without a stored allocator
Migration: replace extract(&obj) with extractAlloc(&obj, allocator)
2026-04-15 11:42:26 +02:00
1b7cd31925
build: port to zig-0.16.0-dev.3133+5ec8e45f3
2026-04-09 18:50:30 +02:00
46e7709232
feat: add slightly more robust fmtBuf API
2026-03-12 21:42:13 +01:00
d1f35f9725
refactor: add tests for short reads in structs and unions
2026-03-12 21:13:18 +01:00
3d7e3f82e2
refactor: add test cases for writeJsonValue of objects and arrays
2026-03-12 21:04:35 +01:00
b28ef59477
refactor: add round-trip cbor<->json tests for nested data structures
2026-03-12 20:44:17 +01:00
88bdaa8370
refactor: add test case for extracAlloc of a json.Value from an object
2026-03-12 20:33:47 +01:00
2a23d8f54b
refactor: add a test for extractAlloc of json.Value from arrays
2026-03-12 20:30:07 +01:00
301e96f75d
refactor: add some more byte level scalar encoding tests
2026-03-12 20:10:54 +01:00
c6b7110db0
refactor: add a test for 4byte integer matching
2026-03-12 20:06:33 +01:00
03ab65ee31
refactor: add a test for matching of non-u8 slices
2026-03-12 19:55:38 +01:00
baab48ec3d
refactor: add a large usize write test
2026-03-12 19:49:05 +01:00
42dafe553c
refactor: add a test for json.Value extraction of floats
2026-03-12 19:39:01 +01:00
1ddcaf5e9e
refactor: add a test case for extractAlloc of optional null values
2026-03-12 19:34:51 +01:00
9767e2a21b
refactor: add a test for short reads of floats in skipValue
2026-03-12 19:31:02 +01:00
13f8a698e4
refactor: add a testcase for large negative integer panic
2026-03-12 19:26:09 +01:00
Loris Cro
0708420594
update to zig 0.15
2025-08-20 21:25:09 +02:00
451bc20dde
refactor: add test cases for optional values
2025-08-08 12:45:21 +02:00
Lumor Sunil
3bdf25183e
Added struct and union cases in extract and extractAlloc and match (except for structs). Added tests for enums, unions and structs.
2025-07-22 17:18:59 +02:00
6eccce0b98
fix: bit rotten json in cbor.extract_cbor test case
2025-07-15 16:43:31 +02:00
a6174af2ec
feat: initial release of thespian's cbor module as a separate package
2025-03-18 23:06:38 +01:00