public static String getJsonResult(String str)
	{
		InputStream is = null;
		InputStreamReader isr = null;
		BufferedReader br = null;
		StringBuffer sb = null;
		try
		{
			URL url = new URL(str);
			HttpURLConnection conn = (HttpURLConnection) url.openConnection();
			conn.setRequestMethod("GET");

			int responseCode = conn.getResponseCode();
			System.out.println(responseCode);
			if (responseCode == 200)
			{
				is = conn.getInputStream();
				isr = new InputStreamReader(is);
				br = new BufferedReader(isr);

				String line = null;
				sb = new StringBuffer();

				while (null != (line = br.readLine()))
				{
					sb.append(line);
				}

			} else
			{
				System.out.println("连接失败！！！！ 状态码：" + responseCode);
			}

			return sb.toString();

		} catch (MalformedURLException e)
		{
			e.printStackTrace();
		} catch (ProtocolException e)
		{
			e.printStackTrace();
		} catch (IOException e)
		{
			e.printStackTrace();
		} finally
		{
			destroy(is, isr, br);
		}

		return null;
	}