Gary Greenberg
Gary Greenberg

Reputation: 576

How can I address map elements in JexlExpression?

I have a function that is suppose to evaluate some expressions in the loop using JexlEngine. It receive as a parameter List<Map<String,Object>> and run through that list. Can I place the whole map to JexlContext and use in my JexlExpression parameters like map.key, similarly to object.property, or I have to manually put every Map element into context? I am at the beginning of writing the code, thus can't post it here, but in JEXL documentation didn't find anything on the topic. If I missed it, please drop me a link.

Upvotes: 0

Views: 94

Answers (0)

Related Questions