src/vs/workbench/services/configuration/common/jsonEditingService.ts/JSONEditingService/hasParseErrors
class JSONEditingService:	private hasParseErrors(model: ITextModel): boolean {
		const parseErrors: json.ParseError[] = [];
		json.parse(model.getValue(), parseErrors, { allowTrailingComma: true, allowEmptyContent: true });
		return parseErrors.length > 0;
	}