Ignite Tools
Public Member Functions
UA_SBJsonWriter Class Reference

The JSON writer class. More...

#import <UA_SBJsonWriter.h>

Inheritance diagram for UA_SBJsonWriter:
UA_SBJsonBase <UA_SBJsonWriterOptions>

List of all members.

Public Member Functions

(NSString *) - stringWithObject:
 Return JSON representation (or fragment) for the given object.
(NSString *) - stringWithFragment:

Detailed Description

The JSON writer class.

Objective-C types are mapped to JSON types in the following way:

In JSON the keys of an object must be strings. NSDictionary keys need not be, but attempting to convert an NSDictionary with non-string keys into JSON will throw an exception.

NSNumber instances created with the +initWithBool: method are converted into the JSON boolean "true" and "false" values, and vice versa. Any other NSNumber instances are converted to a JSON number the way you would expect.


The documentation for this class was generated from the following file:
 All Classes Functions Variables Properties