Hi pryrt, take a look at jq. I almost always pipe JSON output through it, whether from scripts or one-liners. (Maybe its sort_by is enough?)
Hope this helps!
In reply to Re: Outputting JSON with sorted names/keys
by 1nickt
in thread Outputting JSON with sorted names/keys
by pryrt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |