How to apply JSON.parse()

Hey,
Novice question here.

How can I effectively apply JSON.parse() to the following expression:

{"caption": {{$node["Embedded block meta"].json["caption"]}},"type": "file","file": {"url": "{{ $json["webViewLink"] }}","expiry_time": "0"}}

I’ve been trying to parse that JSON through the Set node, but no luck so far.

I really appreciate any help.

Hey @Mike_M,

Assuming {{$node["Embedded block meta"].json["caption"]}} has the json in it something like {{JSON.parse($node["Embedded block meta"].json["caption"])}} should do the job.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.