提交 104dfe0e 编写于 作者: S shaojin.wensj

add testcase for issue #2130

上级 38f46a32
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());
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册