Scale.to_jsonstring
- Scale.to_jsonstring(pretty=False)[source]
Convert an object to its native data representation and save it to a JSON string.
- Parameters:
- prettybool, optional
If True, the JSON string will be pretty printed. Defaults to False.
- Returns:
- str
The JSON string.