diff --git a/src/test/java/com/alibaba/json/bvt/issue_2100/Issue2130.java b/src/test/java/com/alibaba/json/bvt/issue_2100/Issue2130.java new file mode 100644 index 0000000000..39fbff6f31 --- /dev/null +++ b/src/test/java/com/alibaba/json/bvt/issue_2100/Issue2130.java @@ -0,0 +1,13 @@ +package com.alibaba.json.bvt.issue_2100; + +import com.alibaba.fastjson.JSON; +import com.alibaba.fastjson.JSONObject; +import junit.framework.TestCase; + +public class Issue2130 extends TestCase { + public void test_for_issue() throws Exception { + String str = "{\"score\":0.000099369485}"; + JSONObject object = JSON.parseObject(str); + assertEquals("{\"score\":0.000099369485}", object.toJSONString()); + } +}