json_dumpz
- compas.data.json_dumpz(data, zip_filename, pretty=False, compact=False, minimal=False)[source]
Write a collection of COMPAS objects to a compressed JSON file (using ZIP compression).
- Parameters:
- dataobject
Any JSON serializable object. This includes any (combination of) COMPAS object(s).
- prettybool, optional
If True, format the output with newlines and indentation.
- compactbool, optional
If True, format the output without any whitespace.
- minimalbool, optional
If True, exclude the GUID from the JSON output.
- Returns:
- str