Expand description
A tiny recursive-descent JSON reader over the dynamic Value model.
Two callers: varar.lock.json parsing in crate::drift, and the
conformance gates, which compare an artifact against a golden by CONTENT
rather than by bytes — the golden is one file generated by the TypeScript
reference, and key order, indentation and escaping belong to whichever
writer produced it, not to the contract.
Functions§
- parse_
json_ value - Parses JSON text into a
Value, orNoneon malformed input. Integral numbers becomeValue::Int, the restValue::Float—Value’s derived equality deliberately treatsInt(2)andFloat(2.0)as different.