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 Sequence Science and Technology Law Modification
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326409882&siteId=291194637
Recommended
Ranking