Hi Filip,
Thanks for these ideas. Curious to try the posterizeTime(0) method — does this basically tell that text layer to refresh only on the first frame, and never again? Sneaky.
Re the parsing in expressions vs the timeline — I am currently reading the JSON in and addressing the objects i want on every expression. I’m also parsing layer names and property names to help address objects I’m pulling from the JSON. For instance, if the json looks like this:
"obj1" : {
"obj2" : {
"obj3": { "dataToReturn" }
}
}
I have expressions like this, on a layer called “obj2_obj3”
jsonFile = footage("myJson.json").sourceData;
obj1 = thisComp.layer("obj1").text.sourceText;
addr = jsonFile[obj1][thisLayer.name.split("_")[0]][thisLayer.name.split("_")[1]];
So, at the end, addr = myJson.obj1.obj2.obj3 = “dataToReturn”.
I have stuff like this happening in dozens of expressions simultaneously. Is this what you mean by “parsing in the expression” vs. “adding data to the timeline”?