I want to have a JSON object, but not in a seperate file. Instead I want to put the JSON object on a text layers sourcedata. And then have other layers get the values from that layer. I can't seem to figure out a way to do this.
In the test I have two text layers. In the first (called data) layers sourceText I have the following expression:
In the second text layers sourceText I have this expression:
var data = eval(thisComp.layer("data").text.sourceText);
This is not working. Do you have any idea what could make it work?