Expand description
Shared output formatting utilities for all response types.
Functions§
- format_
partial_ footer - Format the “partial: true” footer for human-readable output
- format_
total_ header - Format the “total: N” header for human-readable output
- is_
json_ format - Check if format is JSON (either Json or Pretty)
- render_
json_ response - Render any serializable response as JSON with partial result wrapper