add an option to supress "," in output ?
behrica opened this issue · 4 comments
behrica commented
I prefer EDN without commas, especially for copy/paste into Clojure files.
borkdude commented
@behrica What is the Clojure option to suppress comma's? I've never encountered this before.
behrica commented
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
borkdude commented
@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}
behrica commented
yes, I did not know about the puget cli.
We can close.
Thanks.