Expand description
For usage examples, please have a look at the tests and benchmarks.
Structs§
- Filter
Typed KeyValue Pairs - Removes tokens matching
,? "key": <type> ,?., where<type>is a given token type. Useful for removingnullvalues, or all numbers, for instance. Is made in a resilient fashion which doesn’t require a sane input token stream. - Lexer
- A lexer for utf-8 encoded json data
- Span
- A pair of indices into the byte stream returned by our source iterator. It is an exclusive range.
- Token
- A lexical token, identifying its kind and span.
- Token
Reader - An adapter to convert a stream of
Tokens into bytes by implementing anstd::io::Readtrait.
Enums§
- Buffer
- Representation of a buffer containing items making up a
Token. - Buffer
Type - The type of
Bufferyou want in eachToken - Token
Type
Traits§
- Iterator
Ext - Applies convenience constructors to all
Iterator<Item=Token>types