DataDecoder
- class compas.utilities.DataDecoder(*args, **kwargs)[source]
Bases:
json.decoder.JSONDecoderData decoder for custom JSON serialization with support for COMPAS data structures and geometric primitives.
Methods
Inherited Methods
Return the Python representation of
s(astrinstance containing a JSON document).Decode a JSON document from
s(astrbeginning with a JSON document) and return a 2-tuple of the Python representation and the index inswhere the document ended.