Skip to content

Commit bea4ae5

Browse files
committed
Fix the issue with jackson-jr + Maps; earlier fix missed Map case, only applied to POJO (doh!)
1 parent 6d4310e commit bea4ae5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/com/cowtowncoder/jsonperf/dzone/read/DZoneReadMapJacksonJr.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ public class DZoneReadMapJacksonJr extends DZoneMapReadTestBase
1919

2020
public DZoneReadMapJacksonJr()
2121
{
22-
json = JSON.std;
22+
json = JSON.std
23+
/* 01-Jun-2016, tatu: Should NOT use deferred maps as they can
24+
* skew results
25+
*/
26+
.without(JSON.Feature.USE_DEFERRED_MAPS);
2327
}
2428

2529
@Override

0 commit comments

Comments
 (0)