I was using JETT Template engine for report generation. The JETT Template engine supports the below format of input.
Map<String, Object> beans = new HashMap<String, Object>();
ValueObject beanName = new ValueObject();
beanName.setProperty("Hello, World!");
beans.put("beanName", beanName);
I have tried the above and it's working fine. But in this case the type Object is referring to Java Entity classes. Here I wanted to generate a report using JETT template Engine without using Java Entity classes. Instead I have created a collection object directly from a JSON string. My Collection object looks like:
List<List<Map<String, String>>> packageList = new ArrayList<>();
Will the JETT template engine support this format? How can I refer to the keys in the map in the JETT template?