ObjectiveC SDK  2.0
Public Member Functions
TkomJSONHandler Class Reference

TkomJSONHandler. More...

#include <TkomJSONHandler.h>

List of all members.

Public Member Functions

NSDictionary * transformJSONResponse: (NSData *jsonResponse)
NSString * transformToJSON: (NSDictionary *keyValueSet)

Detailed Description

TkomJSONHandler.

Standard JSON handler for the Telekom Objective-C SDK 1.0. Splits JSON responses into NSDictornary with key/value pairs.


Member Function Documentation

NSDictionary * TkomJSONHandler::transformJSONResponse: ( NSData*  jsonResponse) [virtual]

Method splits a JSON response into several key/value pairs. Different JSON response levels are represented thru NSDictornaries / NSArrays

Parameters:
jsonResponsereceived server JSON response
Returns:
NSDictionary with key/value pairs
NSString * TkomJSONHandler::transformToJSON: ( NSDictionary*  keyValueSet) [virtual]

Method transforms a NSDictionary with key/value pairs into a JSON string.

Parameters:
keyValueSetthe NSDictionary
Returns:
NSString the JSON string

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