Exports the shape data as JSON.

Static methods

staticexport (shapes:Array<ShapeResult>):String

Exports an array of shapes to JSON.

Parameters:

shapes

The shape data to export.

Returns:

A string representing the JSON shape data for the shapes.

staticexportShape (shape:ShapeResult):String

Exports a shape to JSON

Parameters:

shape

The shape data to export.

Returns:

A string representing the JSON shape data for the shape.

staticexportShapes (shapes:Array<ShapeResult>):String

Exports an array of shapes to JSON.

Parameters:

shapes

The shape data to export.

Returns:

A string representing the JSON shape data for the shapes.