PrettyJSON for Xcode is a lightweight Xcode extension that helps you format JSON files right in the Xcode. The application supports formats like Pretty Printed and Minify. Once installed, you need to go to System Preferences and enable the extension. You need to restart Xcode if opened.