stop caching elements (the cache will be freed when no longer needed)
Obtain the next JSONItem from the stream.
Peek at the input stream and see what's coming next.
Release the given number of stream elements from the stream. Note: you are only allowed to release elements that are ALREADY parsed.
Release all elements that have been parsed completely. The return value is the number of elements that were released. Note that this can be done at any point, it doesn't matter if the parser is partway through an object, the rest of that object can still be parsed.
The iopipe source. Use this to parse the data returned. Do not call chain.release directly, use the release method instead to make sure the internal state is maintained.
An object used to parse JSON items from a given iopipe chain. As the items are parsed, the structure of the JSON data is validated. Note that the data returned is simply references to within the iopipe window.
Each new item/token can be obtained by calling the next method.