Module scale_value::stringify::custom_parsers
source · Expand description
This module provides custom parsers that work alongside crate::stringify::from_str_custom
and extend the syntax to support parsing common formats into crate::Value
’s. See
crate::stringify::from_str_custom
for a usage example.
Enums
Functions
- Attempt to parse a hex string into a [
Value<()>
] (or more specifically, an unnamed composite). - Attempt to parse an ss58 address into a [
Value<()>
] (or more specifically, an unnamed composite wrapped in a newtype which represents an AccountId32).