protected hasErrors(content: string, isArray: boolean): boolean {
const result = parse(content, parseErrors, { allowEmptyContent: true, allowTrailingComma: true });
return parseErrors.length > 0 || (!isUndefined(result) && isArray !== Array.isArray(result));
}
private _formattingOptions: Promise<FormattingOptions> | undefined = undefined;