JSON文字列をオブジェクトに変換しようとしています
NSString *testString = @"OMJ=\"N.A.\"&SPJ=\"N.A.\"&OBJ=\"N.A.\"";
NSMutableDictionary *tags = [NSMutableDictionary new];
tags = [NSMutableDictionary dictionaryWithDictionary:[Utility convertJSONStringToObject:testString]];
エラー メッセージ!
-[__NSCFConstantString objectFromJSONString]: unrecognized selector sent to instance!
NSJSONSerialization を使用した後、辞書 JSON の戻り値は null です
NSDictionary *JSON =
[NSJSONSerialization JSONObjectWithData: [@"OMJ=\"N.A.\"&SPJ=\"N.A.\"&OBJ=\"N.A\"" dataUsingEncoding:NSUTF8StringEncoding]
options: NSJSONReadingMutableContainers
error: nil];
私のコードで間違ったこと。問題を解決するようにアドバイスしてください。
@前もって感謝します