This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
[RFC] JSON output #178
Labels
difficulty: medium
Somewhat difficult to solve
priority: medium
Medium priority for the Knurling team
status: needs PR
Issue just needs a Pull Request implementing the changes
type: enhancement
Enhancement or feature request
Summary
Add a
--json
flag toprobe-run
to change the output from colored, rendered text (default) to JSON output.The goal is to allow inter-operation with other command line tools (e.g. store in database) using JSON as an exchange format.
Detailed design: JSON schema
This Rust code:
Produces the following JSON object
NOTE No attempt to include structured
data
in the JSON object is v1.v2 or later may contain format string + structured data (e.g. structs becomes JSON maps, etc.)
Unresolved questions
--output=json1
instead--json=v1
?micros
instead ofnanos
?The text was updated successfully, but these errors were encountered: