StreamLink.NET  8.0.1-8.0.1-1132-88354a9
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | List of all members
Caplin.StreamLink.IJsonHandler Interface Reference

Public Member Functions

string Format (object obj)
 
object Parse (string jsonString)
 
object Patch (object existingObject, string jsonPatchString)
 

Detailed Description

Handler for parsing and patching JSON objects

Member Function Documentation

string Caplin.StreamLink.IJsonHandler.Format ( object  obj)

Serializes a plain language object to its JSON string representation.

Parameters
obja plain language object
Returns
a JSON string representation of the object
Exceptions
Exceptionif conversion fails
object Caplin.StreamLink.IJsonHandler.Parse ( string  jsonString)

Parses a JSON string into a platform specific representation.

Parameters
jsonStringthe string to parse
Returns
a platform specific representation of the JSON object
object Caplin.StreamLink.IJsonHandler.Patch ( object  existingObject,
string  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 Mon Feb 26 2024 19:57:57 for StreamLink.NET