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 ?
simple_template.xlsx
simple.json
simple.xlsx
I have the following
simple.jsonfile:and a
simple_template.xlsxwith expressions likeI run it like
java -jar templater-json.jar simple_template.xlsx simple.json simple.xlsxBut in the output
simple.xlsxI can only see that[[colors.name]]gets replaced: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?simple_template.xlsx
simple.json
simple.xlsx