コード例 #1
0
 @Override
 public void setUp() {
   super.setUp();
   objectMapper.configure(SerializationFeature.WRAP_ROOT_VALUE, true);
   objectMapper.configure(DeserializationFeature.UNWRAP_ROOT_VALUE, true);
 }
コード例 #2
0
 @Override
 public void setUp() {
   super.setUp();
   objectMapper.registerModule(new GuavaModule());
 }