You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Biestro (Jira)" <ji...@apache.org> on 2023/06/29 13:17:00 UTC
[jira] [Updated] (JEXL-398) Allow 'trailing commas' while define a map
[ https://issues.apache.org/jira/browse/JEXL-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Biestro updated JEXL-398:
-------------------------------
Affects Version/s: 3.3
Assignee: Henri Biestro
Priority: Minor (was: Major)
> Allow 'trailing commas' while define a map
> ------------------------------------------
>
> Key: JEXL-398
> URL: https://issues.apache.org/jira/browse/JEXL-398
> Project: Commons JEXL
> Issue Type: New Feature
> Affects Versions: 3.3
> Reporter: Xu Pengcheng
> Assignee: Henri Biestro
> Priority: Minor
>
> For example,
>
> {code:java}
> let m = {
> "foo": 1,
> "bar": 2,
> }{code}
> It fails because there is a comma after last entry `"bar": 2`, do we have any plan to support it?
> Thanks!
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)