to_json# HermiteSpline.to_json(path, version=1)# Saves the spline as a json file. Parameters# pathstr or pathlib.PathThe path where the json file should be saved. versionintThe version of the json file. Default is latest version.