LineConstraint.to_jsonstring

LineConstraint.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.

Returns:

str – The object’s data dict in JSON string format.