Object-c代码 
NSDictionary* json = [html JSONValue];  
bool bol = [[json objectForKey:@"state"] boolValue];  
switch (bol) {  
  case 0: //false  
    break;  
  case 1: //true  
    break;  

相关文章:

  • 2022-02-22
  • 2022-12-23
  • 2021-10-15
  • 2022-12-23
  • 2022-01-07
  • 2022-12-23
  • 2022-03-06
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
相关资源
相似解决方案