插件开发工具库,推荐依赖该工具库。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
392 B

package com.fanruan.api.json;
import com.fanruan.api.util.ArrayKit;
import com.fr.json.JSONObject;
import org.junit.Assert;
import org.junit.Test;
public class JSONKitTest {
@Test
public void create() throws Exception{
Assert.assertEquals(JSONKit.create(), new JSONObject());
Assert.assertEquals(JSONKit.create("{test:123}"), new JSONObject("{test:123}"));
}
}