-
Notifications
You must be signed in to change notification settings - Fork 408
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
Add --dump-format json
#992
Conversation
@dionjwa Have a look at this PR, in particular the tests in |
The feature is unstable for now, which means that you have to use the In particular, expressions are serialized in a lispy way which is easy to read, as opposed to the standard rust way. Also, recipes bodies are lists of lists containing either strings, or another list, containing an expression. so:
has:
|
@dionjwa Ping! Let me know if this format is what you were looking for, if you get the chance. |
Feedback: Maybe As long as the recipe data contains the dependencies, I'm good. The fact that you're actually putting the recipe content there as expressions is just extra awesomeness. I don't need that part right now, but I can easily imagine wanting that in the future since it allows introspection. Thank you so much! |
Sweet, good to know! What language and library will you use to deserialize the JSON?
You bet! This has been a long time coming, so I'm glad to have a user driving it forward. |
@dionjwa Merged! Let me know how it works for you. Also, if you need me to cut a release so you can experiment with it, let me know. |
That would be great, but also no rush 👍🏻 |
@dionjwa I released 0.10.4, which includes |
You're wonderful, thank you! I'll let you know when I finish this crazy esoteric use case I have in mind |
You bet! Looking forward to it :) |
Closes #989.
To Do
--format=json
instead of--json
subcommand--unstable