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 curve/LineString3d.ts Line 486 Last Updated: 12 June, 2024