StrutElement.to_jsonstring

StrutElement.to_jsonstring(pretty=False)

Serialize the data representation of an object to a JSON string.

Parameters:

pretty (bool, optional) – If True serialize a pretty representation of the data.

Returns:

str – The object’s data dict in JSON string format.