Class
caplin.streamlink

JsonHandler

Handler for parsing and patching JSON objects

Constructor Summary

Attributes Name and Description
caplin.streamlink.JsonHandler()

Method Summary

Attributes Name and Description
Object parse(String jsonString)

Parses a JSON string into a platform specific representation.

Object patch(Object existingObject, String jsonPatchString)

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

Constructor Detail

caplin.streamlink.JsonHandler()

Method Detail

Object parse(String jsonString)

Parses a JSON string into a platform specific representation.

Parameters
String jsonString the string to parse
Returns
{Object} a platform specific representation of the JSON object

Object patch(Object existingObject, String jsonPatchString)

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

Parameters
Object existingObject the platform specific JSON representation
String jsonPatchString the json patch string in RFC 6902 format
Returns
{Object} a platform specific representation of the patched JSON object