Create a span parser using the JSON data
The buffer containing the JSON data
The current stack of accumulators for JSONPointers
Starting offset in the tokeniser
The current accumulator for JSONPointers
The tokeniser
Get the position of the next byte
the position of the next byte
Determine if the next token ends an array, map, or string
the current token
the current reading position
true if the next token ends a structure
Parse the JSON data up to a given offset position.
the position up to which to read
the consumer that records the JSON pointers
if true and if the current reading position is less
than the offset, this is guaranteed to read at least
one value
the change in the height of the parent stack
Parse the JSON data up to a given offset position. If the current reading position is less than the offset, this is guaranteed to read at least one value.
the position up to which to read
the consumer that records the JSON pointers
the change in the height of the parent stack
Convert the span parser to a string
a string representation of the span parser
Copyright © 2025 DiffusionData Ltd. All Rights Reserved.
A SpanParser calculates JSON pointers for processing {@JSONDelta}. See DeltaVisitor for a more detailed discussion.