public class JsonParserConcat
extends JsonParserSequence
Utility class to easily concatenate multiple JsonParsers. This class had to be implemented because the class it is
extending, JsonParserSequence
, inevitably skips a token when switching from one empty parser to a new one.
I.e. it is automatically calling JsonParser#nextToken()
when switching to the new parser, ignoring
the current token.
This class is used for high performance in GraphSON when trying to detect types.
- Author:
- Kevin Gallardo (https://kgdo.me)