Lottie Animation from JSON, not File

Hi All,

Is it possible to utilise the lottie animation with the json in a block (not a file)?

I wish to dynamically update the text within the file/json, so it can’t be in a file.

Any help would be grand