-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
I have the following simple.json file:
{
"colors": [
{"name": "red"},
{"name": "green"},
{"name": "blue"}
]
}
and a simple_template.xlsx with expressions like
{{atColor = colors:at(1)}}
My favorite color is {{atColor.name}}.
[[colors.name]]
[[colors:at(0).name]]
[[colors:top(2).name]]
I run it like java -jar templater-json.jar simple_template.xlsx simple.json simple.xlsx
But in the output simple.xlsx I can only see that [[colors.name]] gets replaced:
{{atColor = colors:at(1)}}
My favorite color is {{atColor.name}}.
red
green
blue
[[colors:at(0).name]]
[[colors:top(2).name]]
It seems like all the navigation expressions are ignored. Am I doing something wrong here? Or are navigation expressions not supported by templater-json.jar ?
Metadata
Metadata
Assignees
Labels
No labels