Available on crate features
json or toml or yaml only.Expand description
Reads a typed value from the located tree a format read.
One serde Deserializer serves every format: it walks the tree
and asks the format to resolve each scalar for the type the field needs, so
each format keeps its own scalar rules. A problem comes back as a
Refusal with a Fault
and the bytes it sits at; Messages words the fault.
Tagged reads a node’s tag beside its value.
Input reads every typed value through this module.
Structs§
- Tagged
- A value and the tag written on its node, such as
!overrideincode_span_size: !override 0:Tagged(0, Some("!override".into())).
Functions§
- deserialize
- Reads a
Tfromnode, a treeformatread, resolving each scalar byformat’s rules.