Saturday, May 7, 2022

Re: Json inline format

Thank you Paul, I don't want third part.
N

Le samedi 7 mai 2022 à 18:56:56 UTC+2, Paul a écrit :
json_pp, or: perl -MJSON -0e 'print to_json decode_json(<>),{pretty=>1}'

Use {pretty=>1,canonical=>1} if you want sorted keys.

On Sat, May 07, 2022 at 04:01:55AM -0700, Ni Va wrote:
>Hi,
>
>How can i format inline json file to multines without python tool ?
>
>Thank you

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/48e3fd01-2eaa-4884-8330-1bc7fe758a1fn%40googlegroups.com.

No comments:

Post a Comment