Cylinder.to_json

Cylinder.to_json(filepath)

Serialize the data representation of an object to a JSON file.

Parameters

filepath (str) – The path to the file containing the data.