How to put a template in a json file

I was making an endless runner so I was wondering how I could put a template into the json file. I would like to do this instead of using a json attribute.

What is your use case? It is difficult for me to understand the need to save the template in a json file, if template itself already is something similar (if I am not mistaken). By the way, now I also started making endless runner :wink:

1 Like

Oh I found a work around. I just used a template then turned it into a global variable