Task: Pretty Format JSON Output in Ruby
Task: Pretty Format JSON Output in Ruby: a task in Terminal-Lego-15k (Harbor dataset). Write a Ruby script that reads a compact (single-line) JSON file and outputs a "pretty" or nicely formatted version of the JSON with proper indentation and line breaks.
Part of PrimeIntellect/Terminal-Lego-15k.