data

Classes

Data

Abstract base class for all COMPAS data objects.

DataEncoder

Data encoder for custom JSON serialization with support for COMPAS data structures and geometric primitives.

DataDecoder

Data decoder for custom JSON serialization with support for COMPAS data structures and geometric primitives.

Functions

json_load

Read COMPAS object data from a JSON file.

json_loads

Read COMPAS object data from a JSON string.

json_dump

Write a collection of COMPAS object data to a JSON file.

json_dumps

Write a collection of COMPAS objects to a JSON string.