Parameters.to_json_str()
Generates JSON-formatted string for pure and binary records (if initialized).
Parameters:pretty (bool) – Whether to use pretty (True) or dense (False) formatting. Defaults to True.
Returns:str
Return type:The JSON-formatted string.