의는
작업이 시도
public class JsonRead{
public static void main(String[] args) throws JSONException {
String data="{id: 378,name:\"abcd\",street:\"street name\",house no: \"200\",zip code: \"22998\",City: \"New York\",City: \"New York\",Country: \"USA\"}";
JSONObject parse = new JSONObject(data);
JSONObject newData=new JSONObject();
System.out.println("value of name:::: "+parse.get("name"));
newData.put("name", parse.get("name"));
System.out.println("In JSon Format:::::"+newData.toString());
}
}
출력 : 이름 :::: abcd와
새로운 JSON ::::: {의
값 " 이름 ":"abcd "}
희망이 있으면 문제를 해결하는 데 도움이됩니다 ... !!!!!!
당신은 JSON의 paersing에 사용하는 언어는 무엇 내가 자바 – Amy
을 게시하시기 바랍니다 포스트는 – rockingzebra
을 사용하고있는 코드 – Amy