fix(接口测试): 接口执行响应结果精度丢失
--bug=1039048 --user=陈建星 【接口测试】场景-场景中本地执行和服务端执行一个接口返回值精度不一样 https://www.tapd.cn/55049933/s/1505371
This commit is contained in:
parent
b29d261c58
commit
3d75aab508
|
@ -31,6 +31,7 @@ public class JSON {
|
|||
|
||||
static {
|
||||
objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
|
||||
objectMapper.configure(DeserializationFeature.USE_BIG_DECIMAL_FOR_FLOATS, true);
|
||||
// 支持json字符中带注释符
|
||||
objectMapper.configure(JsonParser.Feature.ALLOW_COMMENTS, true);
|
||||
// 自动检测所有类的全部属性
|
||||
|
|
Loading…
Reference in New Issue