AUTO_DETECT

Declares that parser itself should select between WHITESPACE_SEPARATED and ARRAY_WRAPPED modes. The selection is performed by looking at the first meaningful character of the stream.

In most cases, auto-detection is sufficient to correctly parse an input. If the input is whitespace-separated stream of the arrays, parser could select an incorrect mode, for that DecodeSequenceMode must be specified explicitly.

Example of an exceptional case: [1, 2, 3] [4, 5, 6]\n[7, 8, 9]

Properties

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int