An oneliner to format JSON in pretty-print with Ruby
I cannot rememer this short line.
I'll note it.
ruby -e "require 'json'; puts (JSON.pretty_generate JSON.parse(STDIN.read))"
I cannot rememer this short line.
I'll note it.
ruby -e "require 'json'; puts (JSON.pretty_generate JSON.parse(STDIN.read))"