Value.from_jsonstring
- classmethod Value.from_jsonstring(string)
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
.