RollerBCXY.to_json

RollerBCXY.to_json(filepath, pretty=False, compact=False, minimal=False)[source]

Convert an object to its native data representation and save it to a JSON file.

Parameters:
filepathstr

The path to the JSON file.

prettybool, optional

If True, output will be pretty-printed.

compactbool, optional

If True, output will be compact.

minimalbool, optional

If True, output will be minimal.