StreamLink for iOS
8.0.2.287281-045ba3c8
|
Provides information about a change to JSON data. More...
Instance Methods | |
(NSString *) | - jsonString |
Returns the JSON string in the event. More... | |
(NSObject *) | - json |
Returns the complete JSON object (patches applied) as created by the user defined JsonHandler (specified in the configuration). More... | |
Provides information about a change to JSON data.
- (NSObject * SLJsonDataEvent) json |
Returns the complete JSON object (patches applied) as created by the user defined JsonHandler (specified in the configuration).
- (NSString * SLJsonDataEvent) jsonString |
Returns the JSON string in the event.
When a call to isImage() returns true, the subscription data event contains an image string which represents the JSON object. The application must discard any previously received JSON update and replace it with the value contained within the NSString.
When a call to isImage() returns false, the subscription data event contains an update to the JSON object in the form of a string containing operations that conform to RFC 6902 These operations should be applied to any cached JSON objects.