Multiple nested variables
bassail opened this issue · comments
Bassail commented
Hello
I need to know if that is achievable though Mustache.
Let's say I have this kind of simple template :
{{ object }}
and these variables :
{
"object": "this is my object's {{ property }}"
"property": "name : {{ value}}",
"value": "myName"
}
I want to obtain the following result :
this is my object's name : myName
This is an exemple with two nested variables, but it could be more than two.
I've read about partials, but I'm not sure it would help me in this use case.
Thanks for your help