Mike_M
December 1, 2022, 5:06pm
#1
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.
Jon
December 2, 2022, 10:50am
#2
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.
system
closed
March 2, 2023, 10:51am
#3
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.