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