I have JSON like this
"login_success" : "Yes",
"isAdult": "N",
...
and
I want to mapping the result to below property
property BOOL bSuccess;
property BOOL isAudlt;
currently, the result map to the NSString property and then call method if the string is "YES" , bSuccess = YES...
is there any easy way?