Add JSON output for single file classification (#4664)
Add JSON output for single file classification (#4664)

* https://github.com/github/linguist/issues/3562

* Re-adding blank line

Per https://github.com/github/linguist/pull/4664#discussion_r337987974 @lildude is right, why did I remove this line?

* Straighten JSON/Not-JSON logic

Per https://github.com/github/linguist/pull/4664#discussion_r337987550 the `if-not` logic has been inverted

erkyrath/linguist,sebgod/linguist,sebgod/linguist,sebgod/linguist,christop/linguist,pchaigno/linguist,pchaigno/linguist,christop/linguist,github/linguist,github/linguist,erkyrath/linguist,pchaigno/linguist,github/linguist,pchaigno/linguist,erkyrath/linguist,erkyrath/linguist,github/linguist,sebgod/linguist