For use in this script (its not 100% yet) https://gist.github.com/mike548141/ba12 ... cc2887f6d6
FWIW, while no "pretty print"... v7.13 has JSON support as built-in function
Code:
:put [:serialize {a=123} to=json]{"a":123}:put [:deserialize "{ \"a\": 123 }" from=json ] a=123
Statistics: Posted by Amm0 — Tue Feb 13, 2024 6:00 am