Expand description
Shared JSON output primitives for Foundry CLIs.
Structs§
- Json
Envelope - Stable top-level envelope for complete machine-readable command output.
- Json
Message - Structured diagnostic entry for JSON output.
Enums§
- Json
Message Level - Severity level for a structured JSON diagnostic.
Constants§
- JSON_
SCHEMA_ VERSION - The current version of Foundry’s top-level JSON output envelope.
Functions§
- print_
json - Prints a value as compact, single-line JSON to stdout.
- print_
json_ success - Prints a successful JSON envelope to stdout.
- print_
json_ success_ with_ warnings - Prints a successful JSON envelope with warnings to stdout.