When comparing Pretty JSON vs Sublime Linter, the Slant community recommends Sublime Linter for most people. In the question“What are the best plugins for Sublime Text?” Sublime Linter is ranked 8th while Pretty JSON is ranked 20th.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Can prettify with configurable indent and optional key sorting
To prettify look for "Pretty JSON: Format (Pretty Print) JSON" via Command Pallette. Indent, key sorting and ASCII ensurance can all be configured.
Pro Can convert JSON to XML
To convert JSON to XML look for "Pretty JSON: JSON 2 XML" via Command Pallette.
Pro Can minify
To compress/minify look for "Pretty JSON: Minify (compress) JSON" via Command Pallette.
Pro Can query
Query/filter requires ./jq and allows slicing, filtering, mapping and transforming data with ease. To query look for "Pretty JSON: jq query" via Command Pallette.
Pro Helps you find errors in the code
Pro Supports pretty much every language
Cons
Con Tends to cause Sublime Text to run slowly
With Sublime Linter installed, dialog boxes warning that the plugin is running slowly can become a common occurrence, depending on the types of files you regularly work with.
Con Many default linters require installing Node.js
Javascript, CoffeeScript, and even the CSS linter require installing Node.js to function