JSONExporter#

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

Bases: ECLYPSEDataExporter

Exporter for canonical ECLYPSE JSON files.

Methods

write_data(data, target, *[, context])

Write canonical graph data to a JSON file.

write_data(data, target, *, context=None)[source]#

Write canonical graph data to a JSON file.

Parameters:
  • data (dict[str, Any]) – The graph data to write.

  • target (str | Path) – The target JSON path.

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

Return type:

None