Skip to main content

Crate const_json

Crate const_json 

Source
Expand description

Const-only JSON serialization and parsing runtime helpers.

This crate pairs with the ConstJson derive macro to generate fully const fn JSON serialization with zero heap allocation.

It also provides compile-time JSON parsing via const fn.

Re-exports§

pub use parse::JsonObject;
pub use parse::JsonValue;
pub use parse::ParseError;

Modules§

parse
Const-compatible JSON parsing utilities.
ser
Minimal JSON serialization helpers used by the ConstJson derive macro.

Structs§

JsonBuffer
Stack-allocated, grow-only JSON buffer.

Derive Macros§

ConstJson