to_json#

HermiteSpline.to_json(path, version=1)#

Saves the spline as a json file.

Parameters#

pathstr or pathlib.Path

The path where the json file should be saved.

versionint

The version of the json file. Default is latest version.