Interface TokenReadable

All Superinterfaces:
RecordReadable
All Known Implementing Classes:
CborParser, CborParser.Base64, CborParser.SpacedHex, CborParserSession, Json5lParser, Json5lParserSession, Json5Parser, Json5ParserSession, JsonlParser, JsonlParserSession, JsonParser, JsonParserSession, MsgPackParser, MsgPackParser.Base64, MsgPackParser.SpacedHex, MsgPackParserSession

public interface TokenReadable extends RecordReadable
Capability role for parsers that additionally expose the structural TokenReader cursor (FULL formats: json, json5, jsonl, cbor, msgpack).

Because TokenReader IS-A RecordReader, FULL formats get the record surface for free — the readRecords(Object) default returns readTokens(Object). Capability is detected via instanceof; a format that supports tokens is a TokenReadable (and transitively a RecordReadable).

See Also: