pub fn json_to_dag_cbor(value: &Value) -> Result<DagCbor>Expand description
Convert AT JSON into the value type used by the public codec. Reserved
single-key $link and $bytes objects become links and byte strings,
never ordinary maps. Invalid wrappers, floats and integers outside signed
64-bit range are rejected before serialization.