You can run clang-format over JSON with -assume-filename=a.js, the result is ok-ish. But ack, people also might not want to be fancy in their JSON formatting and prefer a more regular +2 indent style. http://reviews.llvm.org/D10543 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/