Module rsonpath::classification::structural
source · Expand description
Classification of structurally significant JSON bytes.
Provides the Structural struct and StructuralIterator trait
that allow effectively iterating over structural characters in a JSON document.
Classifying Commas and Colons is disabled by default.
It can be enabled on demand by calling
StructuralIterator::turn_commas_on/StructuralIterator::turn_colons_on.
This configuration is persisted across stop and
resume calls.
A structural classifier needs ownership over a base
QuoteClassifiedIterator.
Enums
- Defines the kinds of brackets that can be identified as structural.
- Defines structural characters in JSON documents.
Traits
- Trait for classifier iterators, i.e. finite iterators of
Structuralcharacters that hold a reference to the JSON document valid for'a.