Inherits from NSObject
Conforms to RKRequestSerializable
Declared in RKJSONSerialization.h
RKJSONSerialization.m

Overview

Defines a JSON serialization of an object suitable for submitting to a remote service expecting JSON input.

Tasks

Other Methods

Other Methods

Other Methods

  • – HTTPBody

    An NSData representing the HTTP Body serialization of the object implementing the protocol

Class Methods

JSONSerializationWithObject:

Returns a RestKit JSON serializable representation of object

+ (id)JSONSerializationWithObject:(NSObject *)object

Declared In

RKJSONSerialization.h

Instance Methods

HTTPBody

An NSData representing the HTTP Body serialization of the object implementing the protocol

- (NSData *)HTTPBody

Declared In

RKRequestSerializable.h

HTTPHeaderValueForContentType

The value of the Content-Type header for the HTTP Body representation of the serialization

- (NSString *)HTTPHeaderValueForContentType

Declared In

RKRequestSerializable.h

initWithObject:

Initialize a serialization with an object

- (id)initWithObject:(NSObject *)object

Declared In

RKJSONSerialization.h