Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
ObjectMapper provides about 30 different readValue methods, but ObjectReader currently has far fewer. Given an ObjectReader instance, an initial call to withType could be made before calling readValue, and thus provide more or all of the readValue alternatives available to ObjectMapper, but this would incur the cost of new ObjectReater
instance creation every time.
ObjectReader should be enhanced to add the rest of the ObjectMapper readValue counterparts, so as to provide a more complete immutable, thread-safe JSON reader API.
(Perhaps the readValues methods in ObjectReader should be similarly increased to allow per-call target type specification.)
Activity
Tatu Saloranta
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | In Progress [ 3 ] |
Tatu Saloranta
made changes -
| Status | In Progress [ 3 ] | Open [ 1 ] |
Tatu Saloranta
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Won't Fix [ 2 ] |