Declares that objects in the input stream are separated by whitespace characters.

The stream is read as multiple JSON objects separated by any number of whitespace characters between objects. Starting and trailing whitespace characters are also permitted. Each individual object is parsed lazily, when it is requested from the resulting sequence.

Whitespace character is either ' ', '\n', '\r' or '\t'.

Example of WHITESPACE_SEPARATED stream content:

"""{"key": "value"}{"key": "value2"}   {"key2": "value2"}"""


Link copied to clipboard
Link copied to clipboard