-
Notifications
You must be signed in to change notification settings - Fork 905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON output for some commands #1252
Comments
This might be a duplicate as it may already have another coinciding issue. |
Actually seeing output as JSON format I think was once proposed but would require quite a bit of rework to allow. However it may not be a bad idea to look at it for some commands. How easily can command output (text) pipe to PowerShell's Convert-FromJson? Since the output on the left doesn't come out as a PowerShell object (and it can't being a command that is run, not a PowerShell script), is what you are showing even technically possible in that form? |
Yes it is possible, as long as it is valid json. |
That's pretty cool then. :D |
I've marked this up for grabs. |
Its also usable with
|
Possibly a duplicate of #159? |
This would be a great thing to have. Would solve #1614 as the .NET library for JSON will be able to escape whatever character for you. |
It would be great for choco to return something other then text for any output. JSON would totally do as it can quickly be loaded with
Convert-FromJson
. This would help with automatic choco installation and configuration.For example:
The text was updated successfully, but these errors were encountered: