You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
680 B
Java

4 years ago
package com.glxp.mipsdl.admin;
import com.glxp.mipsdl.admin.client.http.ZaxyyXmlClient;
4 years ago
import com.glxp.mipsdl.admin.http.UHttpUtils;
import org.junit.Test;
import javax.annotation.Resource;
4 years ago
public class JsonTest {
@Test
public void teS() {
String json1 = "{\\\"invspec\\\":\\\"\\\\\\\\\\\",\\\"invtype\\\":\\\"国械注准20163461377\\\"}";
String json = "{\\\"invname\\\":\\\"Glucose Oxidase\\\\\\\"Amano\\\\\\\" 2\\\"}";
4 years ago
System.out.println(json1);
System.out.println(UHttpUtils.formatResponse(json1));
}
@Resource
ZaxyyXmlClient xmlClient;
@Test
public void teS1() {
xmlClient.testWebservice();
}
4 years ago
}