deserializer

Submodules

Structs

PaxDeserializer

Serde bridge from Pax literal grammar nodes into runtime values.

Properties

ast

Type: Pair<'de, Rule>

Implementations

from
pub fn from(ast: Pair<'de, Rule>) -> Self

Wrap a pest pair as a deserializer.

Functions

from_pax

pub fn from_pax(str: &str) -> Result<PaxValue>

Deserialize a Pax literal string into a runtime PaxValue.


from_pax_ast

pub fn from_pax_ast(ast: Pair<'_, Rule>) -> Result<PaxValue>

Deserialize a parsed literal AST node into a runtime PaxValue.