ARRAY_WRAPPED

Declares that objects in the input stream are wrapped in the JSON array. Each individual object in the array is parsed lazily when it is requested from the resulting sequence.

The stream is read as multiple JSON objects wrapped into a JSON array. The stream must start with an array start character [ and end with an array end character ], otherwise, JsonDecodingException is thrown.

Example of ARRAY_WRAPPED stream content:

"""[{"key": "value"},   {"key": "value2"},{"key2": "value2"}]"""

Properties

Link copied to clipboard
Link copied to clipboard