Module classification

Source
Expand description

Classifiers working on the input stream.

This base module provides the ResumeClassifierState struct common between all higher-level classifiers that work on top of a QuoteClassifiedIterator. It allows saving the state of a classifier and can be later used to resume classification from a, possibly different, high-level classifier. This state’s index can be pushed forward.

Modules§

depth
JSON depth calculations on byte streams.
memmem
Classification ignoring the structure of the JSON and looking for the occurrence of a specific member name as quickly as possible.
quotes
Classification of bytes withing JSON quote sequences.
structural
Classification of structurally significant JSON bytes.

Structs§

ResumeClassifierBlockState
State of the block at which classification was stopped.
ResumeClassifierState
State allowing resumption of a classifier from a particular place in the input along with the stopped QuoteClassifiedIterator.