Map<String, Object> map = new HashMap<>();
map.put("111","121");
map.put("123",123);
map.put("333", 12555555555555555555555555553.091);
SerializeConfig config = SerializeConfig.getGlobalInstance();
config.put(Double.class, new DoubleSerializer("#.#####"));
System.out.println(JSON.toJSONString(map));
FastJson Double 序列科学技术法修改
猜你喜欢
转载自blog.csdn.net/u013076044/article/details/79802697
今日推荐
周排行