Text.to_jsonstring
- Text.to_jsonstring(pretty=False)[source]
Serialize the data representation of an object to a JSON string.
- Parameters
- prettybool, optional
If True serialize a pretty representation of the data.
- Returns
- str
The object’s data dict in JSON string format.