0x001 主程序, get请求 package com.gyarmy.testjson; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.net.URLEncoder; ...

阅读全文>>

jackon的jar包下载地址: http://repo1.maven.org/maven2/com/fasterxml/jackson/ 需要下载core里面的3个jar包 测试案例 package com.gyarmy.javabeen; import java.util.Date; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.core.JsonProcessingException; ...

阅读全文>>