How to convert the contents of a value with different structure options

How to make an expression so that regardless of the possible variant, the content is displayed in the form of text.

Not sure if I understand totally correctly. But no matter if you have the data from picture 1 or picture 2 the expression in picture 3 should display something and it should not be red and should not display “not found”.

But if I understand it correctly do you not want an empty array with the value from picture one you want the “text-form” instead and so “[]”.

In this case you can simply put “JSON.stringify(YOUR CURRENT EXPESSION)” around it and it should work fine.

1 Like

It should be?

Yes, that looks good.

Thank you, Jan!
You are the best.

You are welcome. Great to hear that it helped.

Have fun!