Review main Abandoned

37975[WIP][TASK] Support for quoted keys in Fluid arrays

Olle Haerstedt CR 0 V 0 Normal +35 −27 updated 09/23/15, 19:54

Commit message

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 square brackets and dots within quoted keys::

 <x:someViewHelper arrayArgument="{'this[will]': 'work'}" />
 {x:someViewhelper(arrayArgument: '{"and.so": "will.this"}'}

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1