FMJson Class Reference

Inherits from NSObject
Declared in FM.h

Overview

JSON utility class.

+ deserializeWithValueJson:

Deserializes a value from a JSON string. The type the value to deserialize.

+ (NSObject *)deserializeWithValueJson:(NSString *)valueJson

Parameters

name="valueJson">The

JSON string to deserialize. The deserialized value.

Discussion

Deserializes a value from a JSON string. The type the value to deserialize.

Declared In

FM.h

+ provider

Gets the JSON provider to use.

+ (FMJsonProvider *)provider

Discussion

Gets the JSON provider to use.

Declared In

FM.h

+ serializeWithValue:

Serializes a value to a JSON string. The type the value to serialize.

+ (NSString *)serializeWithValue:(NSObject *)value

Parameters

name="value">The

value to serialize. The serialized JSON string.

Discussion

Serializes a value to a JSON string. The type the value to serialize.

Declared In

FM.h

+ setProvider:

Sets the JSON provider to use.

+ (void)setProvider:(FMJsonProvider *)value

Discussion

Sets the JSON provider to use.

Declared In

FM.h