algebraixlib.import_export.json module

Import data from JSON.

algebraixlib.import_export.json.import_json()[source]

Import the file json_file_or_filepath as JSON file and return nested relations.

Parameters:json_file_or_filepath – A file path or a file object of the file to be imported.
Returns:A nested relation that represents the JSON document.