src/vs/platform/userDataSync/common/abstractSynchronizer.ts/AbstractJsonFileSynchroniser/hasErrors
class AbstractJsonFileSynchroniser:	protected hasErrors(content: string, isArray: boolean): boolean {
		const parseErrors: ParseError[] = [];
		const result = parse(content, parseErrors, { allowEmptyContent: true, allowTrailingComma: true });
		return parseErrors.length > 0 || (!isUndefined(result) && isArray !== Array.isArray(result));
	}