Expand description
Resource-aware JSON infrastructure organized into decoding, encoding, and materialized-value domains.
decodevalidates strict JSON and normalizes explicitly configured non-standard text.encodeserializes values with explicit output and value budgets.valueconstructs and traverses materialized JSON values.
qubit-budget owns limits, resource identities, and sessions. This crate
owns JSON-specific normalization, syntax validation, value construction,
and traversal.
§Number contract
Strict text codecs accept negative integers in i64, non-negative
integers in u64, and fractional or exponential tokens representable as
finite f64. This intentionally includes integers above JavaScript’s safe
integer limit. Wider exact integers and exact decimals must use strings or
an explicit domain wire format. NumberBytes limits lexical size; it does
not expand the supported numeric range.
Modules§
- decode
- JSON decoding APIs and their diagnostics.
- encode
- Strict JSON encoding APIs and their budget-aware serializer internals.
- value
- Builds
serde_json::Valuevalues while charging a JSON value budget.