Skip to content
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 the various commands #102

Open
rgrinberg opened this issue Mar 28, 2016 · 4 comments
Open

JSON output for the various commands #102

rgrinberg opened this issue Mar 28, 2016 · 4 comments

Comments

@rgrinberg
Copy link
Member

I think only the gist subcommand supports this but it would be nice if all the commands did.

@dsheets
Copy link
Member

dsheets commented Sep 19, 2016

Do you want raw JSON from the wire or would a reserialization suffice?

@rgrinberg
Copy link
Member Author

Reserialization should be fine. As long as the differences don't affect
semantics. E.g. formatting or key order

On Mon, Sep 19, 2016, 12:41 PM David Sheets [email protected]
wrote:

Do you want raw JSON from the wire or would a reserialization suffice?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#102 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIe-6j2P1d-HDb9vTgyDzLd37WKC9zDks5qrrsegaJpZM4H6OsM
.

@dsheets
Copy link
Member

dsheets commented Sep 19, 2016

Ah, I think it won't work then because we only guarantee to parse a subset of the API so unknown fields, etc would be dropped. What is your use case?

@rgrinberg
Copy link
Member Author

My main use case is ad hoc scripts coupled with jq. I could see this perhaps
being useful when debugging.

On 09/19, David Sheets wrote:

Ah, I think it won't work then because we only guarantee to parse a subset of the API so unknown fields, etc would be dropped. What is your use case?

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#102 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants