Text3dSceneObject.to_jsonstring

Text3dSceneObject.to_jsonstring(pretty=False, compact=False, minimal=False)[source]

Convert an object to its native data representation and save it to a JSON string.

Parameters:
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

The JSON string.