Module scale_value::stringify
source · [−]Expand description
Converting a crate::Value
to or from strings.
Structs
An error parsing the provided string into a Value
Functions
Attempt to parse a string into a [
crate::Value<()>
], returning a tuple
consisting of a result (either the value or a ParseError
containing
location and error information) and the remainder of the string that wasn’t
parsed.Identical to calling
to_string()
on the crate::Value
, but here just
to make it a little more obvious that this is the inverse of from_str
.