PrettyJSON for Xcode is a lightweight Xcode extension helps you to format JSON files right in the Xcode.
- Pretty Printed
- Minify
1. Enable the extension:
- Choose Apple menu > System Preferences, then click Extensions
- Select the checkbox in the Extensions > Xcode Source Editor > PrettyJSON
2. Restart Xcode if opened.
In the Xcode Menu Bar, select "Editor > FormatJSON"