[[["您好世界","Hello world","N n h o sh ji "]],,"en"]
this is json object: contentOfResponseDataInJsonValue
I want to get 你好世界
.
How do it ?
NSString *returnStr=[[[[contentOfResponseDataInJsonValue JSONValue] objectAtIndex:0] objectAtIndex:0] objectAtIndex:0] ;
do this ,error:
JSONValue failed. Error trace is: ( "Error Domain=org.brautaset.JSON.ErrorDomain Code=3 \"Unrecognised leading character\" UserInfo=0x739f0c0 {NSLocalizedDescription=Unrecognised leading character}", "Error Domain=org.brautaset.JSON.ErrorDomain Code=3 \"Expected value while parsing array\" UserInfo=0x739f140 {NSUnderlyingError=0x739f120 \"Unrecognised leading character\", NSLocalizedDescription=Expected value while parsing array}"