Zig library for encoding and decoding Roon WebSocket message
Commits at 2f073dbe0e73f46e0832e1a2f0501969a929c1f3
2f073dbeChange request_id from i64 to u64
No benefit for having negative numbers.
Shota FUJI
authored at
Shota FUJI
comitted at
8802c467Allow passing JSON stringify options to JSONBody
Roon API heavily uses optional fields, probably for size saving.
Shota FUJI
authored at
Shota FUJI
comitted at
281d6324Allow passing JSON parse option to JSONBody
ignore_unknown_fields is frequently used option in real world.
Shota FUJI
authored at
Shota FUJI
comitted at
d0bb276eExport parser contexts
Without these, users have to parse at one-go.
Shota FUJI
authored at
Shota FUJI
comitted at
fad07b77Header generation method for bodies
Most of my usecase only requires content-type/length and request id.
Shota FUJI
authored at
Shota FUJI
comitted at
f2cc18d9Move parser context out of data structs
Presence of "context" field and such prevented me from writing
serializer (builder, encoder) and clean C API.
I'm still not sure how to design C API for this, but this patch would
definitely help serializer.
Shota FUJI
authored at
Shota FUJI
comitted at
57ad36dbBody parsing
Although parsing functionality is complete, API is mess.
So this project is not ready yet.
Shota FUJI
authored at
Shota FUJI
comitted at
629d011eFix incorrect test descriptions
"Metadata.parse()" is a static method.
Shota FUJI
authored at
Shota FUJI
comitted at