API Reference > geometry-core > Curve > LineString3d > toJSON toJSON Method Convert an LineString3d to a JSON object. The returned object is an array of arrays of x,y,z coordinates, [[x,y,z],...[x,y,z]] toJSON(): any Returns - any Defined in core/geometry/src/curve/LineString3d.ts Line 486 Last Updated: 15 June, 2021