OCCCurve.to_jsonstring

OCCCurve.to_jsonstring(pretty=False)[source]

Serialize the data representation of an object to a JSON string.

Parameters

pretty (bool, optional) – If True serialize a pretty representation of the data. Default is False.

Returns

str – A JSON string representation of the data.