Parses a given JSON message.
More...
|
|
NSString * | json |
| | The JSON to parse.
|
| |
|
POIDeserializer * | deserializer |
| | JSON deserializer.
|
| |
Parses a given JSON message.
It allows the deserialization of:
- Author
- pedrocruz
| - (Category *) parseJsonAsCategory: |
|
(NSError**) |
error |
|
Parses the JSON as a Category.
- Parameters
-
| error | contains information about any unforeseen errors. |
- Returns
- a Category containing the content of the JSON message.
| - (Event *) parseJsonAsEvent: |
|
(NSError**) |
error |
|
Parses the JSON as a Event.
- Parameters
-
| error | contains information about any unforeseen errors. |
- Returns
- a Event containing the content of the JSON message.
| - (POI *) parseJsonAsGeneric: |
|
(NSError**) |
error |
|
Parses the JSON as a generic POI.
- Parameters
-
| error | contains information about any unforeseen errors. |
- Returns
- a POI containing the content of the JSON message.
| - (ListEvent *) parseJsonAsListOfEvents: |
|
(NSError**) |
error |
|
Parses the JSON as a ListEvent.
- Parameters
-
| error | contains information about any unforeseen errors. |
- Returns
- a ListEvent containing the content of the JSON message.
| - (ListRoute *) parseJsonAsListOfRoutes: |
|
(NSError**) |
error |
|
Parses the JSON as a ListRoute.
- Parameters
-
| error | contains information about any unforeseen errors. |
- Returns
- a ListRoute containing the content of the JSON message.
Parses the JSON as a PointOfInterest.
- Parameters
-
| error | contains information about any unforeseen errors. |
- Returns
- a PointOfInterest containing the content of the JSON message.
| - (Resources *) parseJsonAsResources: |
|
(NSError**) |
error |
|
Parses the JSON as Resources.
- Parameters
-
| error | contains information about any unforeseen errors. |
- Returns
- a Resources containing the content of the JSON message.
| - (Route *) parseJsonAsRoute: |
|
(NSError**) |
error |
|
Parses the JSON as a Route.
- Parameters
-
| error | contains information about any unforeseen errors. |
- Returns
- a Route containing the content of the JSON message.
| - (ListTag *) parseJsonAsTags: |
|
(NSError**) |
error |
|
Parses the JSON as a ListTag.
- Parameters
-
| error | contains information about any unforeseen errors. |
- Returns
- a ListTag containing the content of the JSON message.
The documentation for this class was generated from the following files: