Declared in NSObject+DBJSON.h

Tasks

  • – JSONFragment

    Returns a string containing the receiver encoded as a JSON fragment.

    This method is added as a category on NSObject but is only actually
    supported for the following objects:
    @li NSDictionary
    @li NSArray
    @li NSString
    @li NSNumber (also used for booleans)
    @li NSNull (Deprecated: Given we bill ourselves as a “strict” JSON library, this method should be removed.)

  • – JSONRepresentation

    Returns a string containing the receiver encoded in JSON.

    This method is added as a category on NSObject but is only actually
    supported for the following objects:
    @li NSDictionary
    @li NSArray

Instance Methods

JSONFragment

Returns a string containing the receiver encoded as a JSON fragment.

This method is added as a category on NSObject but is only actually
supported for the following objects:
@li NSDictionary
@li NSArray
@li NSString
@li NSNumber (also used for booleans)
@li NSNull (Deprecated: Given we bill ourselves as a “strict” JSON library, this method should be removed.)

- (NSString *)JSONFragment

Declared In

NSObject+DBJSON.h

JSONRepresentation

Returns a string containing the receiver encoded in JSON.

This method is added as a category on NSObject but is only actually
supported for the following objects:
@li NSDictionary
@li NSArray

- (NSString *)JSONRepresentation

Declared In

NSObject+DBJSON.h