Make --pretty-json work with Standard JSON output
#11583
Projects
Comments
|
Once this is done, we could also make |
--pretty-json affect Standard JSON output--pretty-json work with Standard JSON output
sladecek
added a commit
to sladecek/solidity
that referenced
this issue
Jul 3, 2021
sladecek
added a commit
to sladecek/solidity
that referenced
this issue
Jul 6, 2021
sladecek
added a commit
to sladecek/solidity
that referenced
this issue
Jul 6, 2021
sladecek
added a commit
to sladecek/solidity
that referenced
this issue
Jul 6, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
By default the compiler prints any JSON output in a compact form:
{"contracts":{"<stdin>:C":{"abi":[]}},"version":"0.8.6+commit.11564f7e.Linux.g++"}You can use
--pretty-jsonoption to get nicely indented output from--combined-jsonoption:{ "contracts": { "<stdin>:C": { "abi": [] } }, "version": "0.8.6+commit.11564f7e.Linux.g++" }This does not work with
--standard-json. Make--pretty-jsonaffect it too.Optionally, it would also be nice if you could specify the indent size for the option to make the output easier to read (e.g.
--pretty-json 4).The text was updated successfully, but these errors were encountered: