Skip to content

Multiple nested variables #827

@bassail

Description

@bassail

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions