A JsonFileFormat
is a FileFormat subclass which holds information about how to
read and parse the files included in a JSON Dataset
.
Factory
JsonFileFormat$create()
can take options in the form of lists passed through as parse_options
,
or read_options
parameters.
Available read_options
parameters:
use_threads
: Whether to use the global CPU thread pool. DefaultTRUE
. IfFALSE
, JSON input must end with an empty line.block_size
: Block size we request from the IO layer; also determines size of chunks whenuse_threads
isTRUE
.
Available parse_options
parameters:
newlines_in_values
:Logical: are values allowed to contain CR (0x0d
or\r
) and LF (0x0a
or\n
) characters? (defaultFALSE
)