{#if field.type === "json"}
{@const stringifiedJson = CommonHelper.trimQuotedValue(JSON.stringify(rawValue)) || '""'}
{#if short}
{CommonHelper.truncate(stringifiedJson)}
{:else}
{CommonHelper.truncate(stringifiedJson, 500, true)}
{#if stringifiedJson.length > 500}