libmoo

Zig library for encoding and decoding Roon WebSocket message

Commits at 2f073dbe0e73f46e0832e1a2f0501969a929c1f3

  1. 2f073dbe Change request_id from i64 to u64 No benefit for having negative numbers. Shota FUJI authored at Shota FUJI comitted at
  2. 8802c467 Allow passing JSON stringify options to JSONBody Roon API heavily uses optional fields, probably for size saving. Shota FUJI authored at Shota FUJI comitted at
  3. 281d6324 Allow passing JSON parse option to JSONBody ignore_unknown_fields is frequently used option in real world. Shota FUJI authored at Shota FUJI comitted at
  4. d0bb276e Export parser contexts Without these, users have to parse at one-go. Shota FUJI authored at Shota FUJI comitted at
  5. d5c33dd6 Support for body-less messages Shota FUJI authored at Shota FUJI comitted at
  6. fad07b77 Header generation method for bodies Most of my usecase only requires content-type/length and request id. Shota FUJI authored at Shota FUJI comitted at
  7. 7e0b4f68 HTML docs generation command Shota FUJI authored at Shota FUJI comitted at
  8. 3f85a2e4 Add and improve doc comments Shota FUJI authored at Shota FUJI comitted at
  9. 5fdb7e74 Example Zig program Shota FUJI authored at Shota FUJI comitted at
  10. d229fc47 Encoder functions Shota FUJI authored at Shota FUJI comitted at
  11. f2cc18d9 Move 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
  12. 57ad36db Body parsing Although parsing functionality is complete, API is mess. So this project is not ready yet. Shota FUJI authored at Shota FUJI comitted at
  13. 629d011e Fix incorrect test descriptions "Metadata.parse()" is a static method. Shota FUJI authored at Shota FUJI comitted at
  14. a9b3dac0 Header parsing Shota FUJI authored at Shota FUJI comitted at
  15. e15a535c Metadata parsing Shota FUJI authored at Shota FUJI comitted at
  16. de120c19 Initial draft for main Zig API Shota FUJI authored at Shota FUJI comitted at
  17. b69b4858 Foundation for Zig library project Shota FUJI authored at Shota FUJI comitted at
  18. ae3da926 Configure base text styles and formatting Shota FUJI authored at Shota FUJI comitted at
  19. 72aa309d Create license files This project will be available as Zero-Clause BSD or Apache-2.0 Shota FUJI authored at Shota FUJI comitted at