{#if isAutoCollapsibleArray}
[
{#each json as item, idx}
{format(item)}{#if idx < json.length - 1} , {/if}
{/each}
]{#if !_last},{/if}
{:else if isAutoCollapsibleObject}
{'{'}
{#each Object.entries(json) as item, idx}
"{item[0]}":
{format(item[1])}{#if idx < Object.entries(json).length - 1}
,
{/if}
{/each}
{'}'}{#if !_last},{/if}
{:else if items.length}
{openBracket}