[
https://issues.apache.org/jira/browse/JEXL-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739490#action_12739490
]
Henri Biestro commented on JEXL-75:
-----------------------------------
This requires modifying Parser.jjt.
However, the syntax around '[' ']' is very "crowded" already (with Map literal
& array access).
I do have a fix but it unfortunately involves changing the Map literal syntax
to the 'javascriptish' { key : value, ... } and use the '[ value, ... ]'
syntax for Array literal.
IMHO, this change towards the 'javascriptish' syntax seems more natural than
the current one (at least when using Jexl for evaluating attributes & al in
taglibs).
If we were to accept that change, documentation will need updating as well.
> Array literal syntax is not supported
> -------------------------------------
>
> Key: JEXL-75
> URL: https://issues.apache.org/jira/browse/JEXL-75
> Project: Commons JEXL
> Issue Type: Sub-task
> Reporter: Henri Biestro
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.