Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

bash sort json alphabetically

jq --sort-keys . my_file > sorted_file
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #sort #json #alphabetically
ADD COMMENT
Topic
Name
3+3 =