CylindricalSurface.from_jsonstring

classmethod CylindricalSurface.from_jsonstring(string)[source]

Construct an object of this type from a JSON string.

Parameters:
stringstr

The JSON string.

Returns:
compas.data.Data

An instance of this object type if the data contained in the string has the correct schema.

Raises:
TypeError

If the data in the string is not a compas.data.Data.