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))"

[\"onenliner\"\"Ruby\"\"JSON\"\"prettyprint\

I cannot rememer this short line.
I’ll note it.

ruby -e "require 'json'; puts (JSON.pretty_generate JSON.parse(STDIN.read))"