Crate spath

Source
Expand description

§SPath: Query expressions for semi-structured data

Modules§

jsonjson
spec
Types representing the concepts of RFC 9535.
tomltoml

Structs§

AtMostOneError
Error produced when expecting no more than one node from a query
LocatedNode
A node within a variant value, along with its normalized path location.
LocatedNodeList
A list of LocatedNode resulting from an SPath query, along with their locations.
Locations
An iterator over the locations in a LocatedNodeList
NodeList
A list of nodes resulting from an SPath query.
Nodes
An iterator over the nodes in a LocatedNodeList
NormalizedPath
ParseError
An error that can occur during parsing the SPath query.
SPath

Enums§

ExactlyOneError
Error produced when expecting exactly one node from a query
Literal
A literal variant value that can be represented in an SPath query.
PathElement
An element within a NormalizedPath

Traits§

ConcreteVariantArray
A trait for the concrete variant array type associated with a variant value.
ConcreteVariantObject
A trait for the concrete variant object type associated with a variant value.
FromLiteral
A trait for converting a literal to a variant value.
VariantValue
A trait for any variant value.