libmoo

Zig library for encoding and decoding Roon WebSocket message

Commits at 8802c467fceb74fd39513c5f2861525c557dd920

  1. 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
  2. 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
  3. d0bb276e Export parser contexts Without these, users have to parse at one-go. Shota FUJI authored at Shota FUJI comitted at
  4. d5c33dd6 Support for body-less messages Shota FUJI authored at Shota FUJI comitted at
  5. 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
  6. 7e0b4f68 HTML docs generation command Shota FUJI authored at Shota FUJI comitted at
  7. 3f85a2e4 Add and improve doc comments Shota FUJI authored at Shota FUJI comitted at
  8. 5fdb7e74 Example Zig program Shota FUJI authored at Shota FUJI comitted at
  9. d229fc47 Encoder functions Shota FUJI authored at Shota FUJI comitted at
  10. 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
  11. 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
  12. 629d011e Fix incorrect test descriptions "Metadata.parse()" is a static method. Shota FUJI authored at Shota FUJI comitted at
  13. a9b3dac0 Header parsing Shota FUJI authored at Shota FUJI comitted at
  14. e15a535c Metadata parsing Shota FUJI authored at Shota FUJI comitted at
  15. de120c19 Initial draft for main Zig API Shota FUJI authored at Shota FUJI comitted at
  16. b69b4858 Foundation for Zig library project Shota FUJI authored at Shota FUJI comitted at
  17. ae3da926 Configure base text styles and formatting Shota FUJI authored at Shota FUJI comitted at
  18. 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