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