Linux CLI apps should have a JSON flag

Created on 2024-02-14T15:03:58-06:00

Return to the Index

This card pertains to a resource available on the internet.

This card can also be read via Gemini.

Structured outputs such as JSON allow a program to communicate data at a higher level than text.

CLI software should offer a command line flag to give this structured output.

Streaming outputs could be accomplished by writing multiple structured documents to the output; as is done with JSON loggers today.

Iced note: basically what powershell wanted to do.