Expand description
Zero-dependency derive macros for nextjson.
Implemented entirely with the standard proc_macro API: no syn, no
quote, no proc-macro2. The input TokenStream is parsed by a
hand-written recursive-descent parser into a small AST, and the output is
generated as text and re-parsed.
Derive Macros§
- Nson
Deserialize - Derive NextJson’s native decoding contract.
- Nson
Serialize - Derive NextJson’s native serialization contract and compile-time schema.