Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.3
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
(based on Chris Pimlott's email on user list)
Currently @JsonCreator annotation is only used with "regular" (non-Collection/Enum/Map) types.
But it would be useful to allow it to be also be used with Map types; for example, to 'configure' Map type based on one or more non-entry types.
Activity
Tatu Saloranta
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | In Progress [ 3 ] |
Tatu Saloranta
made changes -
| Description |
(based on Chris Pimlott's email on user list) Currently @JsonCreator annotation is only used with "regular" (non-Collection/Enum/Map) types. But it would be useful to allow it to be also be used with Map and Collection types; for example, to 'configure' container type based on one or more non-entry types. |
(based on Chris Pimlott's email on user list) Currently @JsonCreator annotation is only used with "regular" (non-Collection/Enum/Map) types. But it would be useful to allow it to be also be used with Map types; for example, to 'configure' Map type based on one or more non-entry types. |
| Summary | Improve handling of @JsonCreator to support Map and Collection types | Improve handling of @JsonCreator to support Map types |
Tatu Saloranta
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
Tatu Saloranta
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Realized that name-based configuration that @JsonCreator offers is not a good match for containers (which would need index-based approach), editing to only cover Map types.