JsonFormat
- class cometa.json.json_format.JsonFormat(value)[source]
Bases:
IntEnumEnum representing the format of the JSON output.
This enum defines the possible formats for the JSON output, indicating whether it should be compact (no extra spaces or line breaks) or pretty (extra spaces and line breaks for readability).
- COMPACT = 0
Compact JSON format (no extra spaces or line breaks).
- PRETTY = 1
Pretty JSON format (extra spaces and line breaks for readability).