Module custom_parsers

Module 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§

ParseHexError

Functions§

parse_hex
Attempt to parse a hex string into a Value<()> (or more specifically, an unnamed composite).
parse_ss58
Attempt to parse an ss58 address into a Value<()> (or more specifically, an unnamed composite wrapped in a newtype which represents an AccountId32).