borkdude / jet

CLI to transform between JSON, EDN, YAML and Transit using Clojure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extension to YAML

davidpham87 opened this issue · comments

Hello,

I think babashka supports yaml now, do you think it would make sense to extend the format to YAML? It might be useful for everyone working with k8s or ansible.

Best regards,
David

@davidpham87 Why not just use babashka then?

This is what I did, I have my own script doing it. I thought it would be cool for jet to have this simple extension. I am crurently trying to write a pull request, not sure I managed.

@davidpham87 Let's leave this issue open for feedback over the longer term. Also see #54.

I've had more people ask for this and maybe it's about time we added support for YAML. If anyone is up for that, PR welcome.

Jet is great tool. Thanks!
I always use it from emacs to convert my buffers.
And I also has struggle in that it does not have yaml. I know that - this is possible via babashka - but one tool for conversion is much better.
It would be cool if this feature will have future.

@qdzo Would you convert YAML to EDN?

Is anyone in this thread open to working on a PR?

50% yaml -> edn
and
50% yaml -> json.

I can spend some time to try implement this.

Sounds good!

Released! Thanks @qdzo !

Thank you for the fast release !!!
Already use the new version 😃