예제 #1
0
 public bool Deserialize(Json_ShopResponse response)
 {
     if (response.shopitems == null || !this.Deserialize(response.shopitems))
     {
         return(false);
     }
     this.UpdateCount = response.relcnt;
     return(true);
 }
예제 #2
0
 public bool Deserialize(Json_ShopResponse response)
 {
     if (response.shopitems == null || !this.Deserialize(response.shopitems))
     {
         return(false);
     }
     this.UpdateCount = response.relcnt;
     this.btn_update  = true;
     if (!string.IsNullOrEmpty(response.msg) && response.msg.StartsWith("{"))
     {
         this.btn_update = JSONParser.parseJSONObject <Json_ShopMsgResponse>(response.msg).update.Equals("on");
     }
     return(true);
 }