JSON output has been asked by Fred and Poka.
It is also an advice of the cli guidelines (#359).
This is available for commands that return a direct output such as wot or history, but not for interactive commands such as tx, or only as final output (useful if --yes is passed). So it would be a per-command option ?
This issue is related with how we manage data in order to display it in a convenient way.
When we will implement it, we should :
gather the data from Duniter and treat it
put it in a dict()
dump dict as JSON output if --json option is passed
if not, use common tui functions to display the table.
What I mean, is : I think we can write two functions in tui, that will handle almost all table cases we have, with a dict() as input data : the same dict() that would be the JSON output.