JSON 예제 파일 내용

{ Unit : { Name : Jaeho, Age : 20 }, Temp : 111 }

 

 

public string GetString(string key,string jsonResult){
    try

{


   JSONObject jsonObj = JSONObject.Parse(jsonResult);  
   return jsonObj.GetString(key);   


  }catch(Exception e){
    return "";
  }
 }
 public JSONObject GetObject(string key,string jsonResult){
  try{
   JSONObject jsonObj = JSONObject.Parse(jsonResult);  
   return (JSONObject)jsonObj.GetObject(key);
  }catch(Exception e){
      return null;
  }
 }
 

 

JSONObject jsonObj = JSONObject.Parse(jsonResult);
  
   return jsonObj.GetString(key);   

 

JSONObject szUnit = WemeManager.getObject("Unit", szAuthData);
string szName = WemeManager.getString("Name", szUnit .ToString());

 

Posted by 부우산사나이
:

70KG

 

 

 

 

 

 

'나의 일상 > 운동관련' 카테고리의 다른 글

[알타클럽] 바디 프로필  (0) 2015.08.06
체지방 기록 6월 7월 분  (0) 2013.07.25
2012년 7월 28일 송도해수욕장  (0) 2012.08.01
Posted by 부우산사나이
:

Cull Off  컬링 끄기

       Front 앞면 컬링

       Back 뒷면 컬링

Posted by 부우산사나이
: