JsonDataSource constructor

Contents
[ ]

init

Creates a new data source with data from a JSON file using default options for parsing JSON data.

def __init__(self, json_path):
    ...
Parameter Type Description
json_path str The path to the JSON file to be used as the data source.

init

Creates a new data source with data from a JSON stream using default options for parsing JSON data.

def __init__(self, json_stream):
    ...
Parameter Type Description
json_stream io.RawIOBase The stream of JSON data to be used as the data source.

init

Creates a new data source with data from a JSON file using the specified options for parsing JSON data.

def __init__(self, json_path, options):
    ...
Parameter Type Description
json_path str The path to the JSON file to be used as the data source.
options JsonDataLoadOptions Options for parsing JSON data.

init

Creates a new data source with data from a JSON stream using the specified options for parsing JSON data.

def __init__(self, json_stream, options):
    ...
Parameter Type Description
json_stream io.RawIOBase The stream of JSON data to be used as the data source.
options JsonDataLoadOptions Options for parsing JSON data.

See Also