Closed apetkau closed 4 years ago
Not sure if this helps, but you can use the jq tool to do this:
jq
jq '(..|select(type == "object")) |= (to_entries|sort_by(.key|(tonumber? // .))|from_entries)' < file.ga > pretty.ga
Not sure if this helps, but you can use the
jq
tool to do this: