Validate JSON syntax, pretty-print with customizable indentation, or minify for production. Highlights errors with line numbers.