Takes the specified iterable object of tokens that has already been pick
or pickAnd
applied to,
and picks from it a value that matches the specified selector.
Use this function when you need to combine two or more Pick-s from a one token stream.
Takes the specified iterable object of tokens and yields an assembled item from it
Takes the specified iterable object of tokens and filters it via the specified filter
Parses the specified iterable object as a JSON stream and yields tokens via a Generator
Takes the specified iterable object of tokens and picks from it a value that matches the specified selector
Takes the specified iterable object of tokens representing an array and yields assembled array items
Takes the specified iterable object of tokens representing an object and yields assembled object items
core/json/stream
This module provides a bunch of functions to work with JSON in a stream form. The submodules contain different classes to parse, filter and assemble JSON in a stream form.
Usage
Functions
from
Parses the specified iterable object as a JSON stream and yields tokens via a Generator. See
core/json/stream/parser
for more information.filter
Takes the specified iterable object of tokens and filters it via the specified filter. See
core/json/stream/filters
for more information.pick
Takes the specified iterable object of tokens and pick from it value that matches the specified selector. See
core/json/stream/filters
for more information.andPick
Takes the specified iterable object of tokens that has already been
pick
orpickAnd
applied to, and picks from it a value that matches the specified selector. Use this function when you need to combine two or more Pick-s from a one token stream.assemble
Takes the specified iterable object of tokens and yields an assembled item from it. See
core/json/stream/assembler
for more information.streamObject
Takes the specified iterable object of tokens representing an object and yields assembled object items. See
core/json/stream/streamers
for more information.streamArray
Takes the specified iterable object of tokens representing an array and yields assembled array items. See
core/json/stream/streamers
for more information.