UNICORN - iOS
実体メソッド | 全メンバ一覧
NSObject(NSObject_SBJsonWriting) カテゴリ

Adds JSON generation to NSObject. [詳解]

#import <NSObject+SBJson.h>

実体メソッド

(NSString *) - JSONRepresentation
 Encodes the receiver into a JSON string. [詳解]
 

詳解

Adds JSON generation to NSObject.

メソッド詳解

- (NSString *) JSONRepresentation

Encodes the receiver into a JSON string.

Although defined as a category on NSObject it is only defined for NSArray and NSDictionary.

戻り値
the receiver encoded in JSON, or nil on error.
参照
Objective-C to JSON

このカテゴリ詳解は次のファイルから抽出されました: