Open
Description
TLDR: See #34
Summary:
Occasionally in application development, a certain condition will arise where the next value being produced by a parser needs to be drained from the buffer as a string into memory.
A Drain next value as a string
function should be able to take any JSON value and drain all the upcoming events so they are not dispatched and collect the buffer as a string until the value's terminus.
Purpose:
A JSON value is seldom the last form a given piece of data will be in. Event streams are made to dispatch to other consumers, and this function would make it possible to dispatch the next value as a completed string to another consumer.
Use Cases:
- Passing a value to another parser
Metadata
Metadata
Assignees
Labels
No labels