splines_to_json#

splinebox.spline_curves.splines_to_json(path, splines, version=1)#

Saves multiple splines in a single json file.

Parameters#

pathstr or pathlib.Path

The path where the json should be saved.

splinesiterable

For instance a list of splinebox.spline_curves.Spline and splinebox.spline_curves.HermiteSpline objects.

versionint

The version used to produce the json file.