Skip to content

Spel Implicit Map [SPR-9472] #14107

@spring-projects-issues

Description

@spring-projects-issues

Ben Hubbard opened SPR-9472 and commented

It doesn't appear possible to define an implicit map using spel. It would be nice to have a map syntax similar to groovy but using the curly braces like spel already uses for implicit lists. Something like this:

{'key1': 'value1', 'key2': 'value2'}
or
{key1: 'value1', key2: 'value2'}


Affects: 3.1.1

Reference URL: http://stackoverflow.com/questions/24799046/creating-setting-a-map-into-context-through-springel

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions