l2osamch1#
可以的 升级到最新版本试一下
public class Issue3293 extends TestCase { public void test_for_issue() throws Exception { String s = "{ \"componentKey\" : \"CMDB_UPDATE_SERVER\"}"; Step step = JSON.parseObject(s, Step.class); Assert.assertEquals("CMDB_UPDATE_SERVER",step.get_componentKey()); } private static class Step { private String _componentKey; public String get_componentKey() { return _componentKey; } public void set_componentKey(String _componentKey) { this._componentKey = _componentKey; } } }
shyt4zoc2#
再次测试后,1.2.29 存在该问题, 1.2.39-->及最新版未复现, 感谢 @biyanwen
2条答案
按热度按时间l2osamch1#
可以的 升级到最新版本试一下
shyt4zoc2#
再次测试后,1.2.29 存在该问题, 1.2.39-->及最新版未复现, 感谢 @biyanwen