Box.to_jsonstring
- Box.to_jsonstring(pretty=False)[source]
Serialize the data representation of an object to a JSON string.
- Parameters
pretty (bool, optional) – If
True
serialize a pretty representation of the data. Default isFalse
.- Returns
str – A JSON string representation of the data.