add an option to supress "," in output ?
behrica opened this issue · comments
I prefer EDN without commas, especially for copy/paste into Clojure files.
@behrica What is the Clojure option to suppress comma's? I've never encountered this before.
It is available in the puget (https://github.com/greglook/puget) pretty printer.
I use it here:
https://github.com/behrica/vl-galery/blob/e89e6d039a85493166338ce84225f87700d1a025/src/convert.clj#L48
@behrica Would it be sufficient for you to install the additional puget CLI?
See https://github.com/borkdude/puget-cli
$ echo '{:a 1 :b 2}' | jet --from edn | puget --opts '{:map-delimiter ""}'
{:a 1 :b 2}
yes, I did not know about the puget cli.
We can close.
Thanks.