StreamLink for iOS  8.0.2.287281-045ba3c8
<SLJsonHandler> Protocol Reference

Handler for parsing and patching JSON objects. More...

Instance Methods

(NSObject *) - parse:
 Parses a JSON string into a platform specific representation. More...
 
(NSObject *) - patch:with:
 Patches a platform specific JSON representation with an RFC 6902 JSON patch string. More...
 

Detailed Description

Handler for parsing and patching JSON objects.

Method Documentation

- (NSObject *) parse: (NSString *)  jsonString

Parses a JSON string into a platform specific representation.

Parameters
jsonStringthe string to parse
Returns
a platform specific representation of the JSON object
- (NSObject *) patch: (NSObject *)  existingObject
with: (NSString *)  jsonPatchString 

Patches a platform specific JSON representation with an RFC 6902 JSON patch string.

Parameters
existingObjectthe platform specific JSON representation
jsonPatchStringthe json patch string in RFC 6902 format
Returns
a platform specific representation of the patched JSON object

Generated on Tue Jul 23 2024 16:34:40 for StreamLink for iOS