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.Splineandsplinebox.spline_curves.HermiteSplineobjects.- versionint
The version used to produce the json file.