JSONImporter#

class eclypse.io.defaults.json.JSONImporter[source]#

Bases: ECLYPSEDataImporter

Importer for canonical ECLYPSE JSON files.

Methods

read_data(source, *[, context])

Read canonical graph data from a JSON file.

read_data(source, *, context=None)[source]#

Read canonical graph data from a JSON file.

Parameters:
  • source (str | Path) – The JSON source path.

  • context (IOContext | None) – Optional import/export customisation.

Returns:

The decoded graph data.

Return type:

dict[str, Any]