Network.to_json

Network.to_json(filepath, pretty=False)[source]

Serialise the structured data representing the datastructure to json.

Parameters

filepath (str) – The path to the json file.