-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Support for quoted keys in arrays
The syntax for Fluid arrays is based on the JSON syntax, but up to now it didn't support quoted arrays, so:: {x:someViewHelper(arrayArgument: '{"foo": "bar"}')} wouldn't parse. With this change the parser is a little less strict for arrays allowing the keys to be quoted with single or double quotes. It also allows to use special characters within quoted keys:: <x:someViewHelper arrayArgument="{'@this[will]': 'work'}" /> {x:someViewhelper(arrayArgument: '{"and.so": "will.this"}'} See https://jira.neos.io/browse/FLOW-248 for more information.
- Loading branch information
1 parent
35b7b88
commit 2f1e815
Showing
3 changed files
with
161 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters