bourne-derive 0.2.0

Derive macros (FromJson / ToJson) for json-bourne. Not used directly — enable json-bourne's `derive` feature.
Documentation

syn-based derive macros for json-bourne.

This crate is not used directly. Enable the derive feature on json-bourne and use #[derive(FromJson, ToJson)] — the derives are re-exported from the main crate so there is a single import surface.

Generated code targets the crate runtime (Lexer / JsonWrite / FromJson / ToJson) via ::json_bourne::… paths that resolve in the consumer's crate graph.

Supported shapes: named and tuple structs, and all four enum tagging modes (external, internal #[bourne(tag)], adjacent #[bourne(tag, content)], untagged), both directions. Field attributes: rename, skip, default, skip_if_none. Container attributes: rename_all, deny_unknown_fields, tag, content, untagged.