Our NativeJsonHandler class which uses the underlying C DSDK wrapper to handle Diff / Patch Operations. The convertions are handled by the NewtonSoft Json Library.
More...
|
object | Diff (object source, object target) |
| Compare given Json Objects and return a Patch Style Json Object containing the differences More...
|
|
string | Format (object jsonTree) |
| Return our Json Object as a Json String with formatting. More...
|
|
object | Parse (string jsonText) |
| Parse a valid Json String into an Object Json Type. More...
|
|
object | Patch (object source, object jsonPatch) |
| Apply a Json Patch to our source Json Object More...
|
|
string | StringDiff (object source, object target) |
| Compare given Json Objects and return a Patch Style Json string containing the differences More...
|
|
object | ToJsonTree (object pojo) |
| Convert our Object into a JsonTree Object type More...
|
|
T | ToObject< T > (object jsonTree, T userType) |
| Convery our JsonTree into an Object of type T More...
|
|
Public Member Functions inherited from Caplin.DataSource.IJsonHandler |
object | Parse (String jsonText) |
|
object | ToJsonTree (Object pojo) |
|
Our NativeJsonHandler class which uses the underlying C DSDK wrapper to handle Diff / Patch Operations. The convertions are handled by the NewtonSoft Json Library.
object Caplin.DataSource.Messaging.JSON.NativeJsonHandler.Diff |
( |
object |
source, |
|
|
object |
target |
|
) |
| |
|
inline |
Compare given Json Objects and return a Patch Style Json Object containing the differences
- Parameters
-
- Returns
Implements Caplin.DataSource.IJsonHandler.
string Caplin.DataSource.Messaging.JSON.NativeJsonHandler.Format |
( |
object |
jsonTree | ) |
|
|
inline |
object Caplin.DataSource.Messaging.JSON.NativeJsonHandler.Parse |
( |
string |
jsonText | ) |
|
|
inline |
Parse a valid Json String into an Object Json Type.
- Parameters
-
- Returns
object Caplin.DataSource.Messaging.JSON.NativeJsonHandler.Patch |
( |
object |
source, |
|
|
object |
jsonPatch |
|
) |
| |
|
inline |
string Caplin.DataSource.Messaging.JSON.NativeJsonHandler.StringDiff |
( |
object |
source, |
|
|
object |
target |
|
) |
| |
|
inline |
Compare given Json Objects and return a Patch Style Json string containing the differences
- Parameters
-
- Returns
object Caplin.DataSource.Messaging.JSON.NativeJsonHandler.ToJsonTree |
( |
object |
pojo | ) |
|
|
inline |
Convert our Object into a JsonTree Object type
- Parameters
-
- Returns
T Caplin.DataSource.Messaging.JSON.NativeJsonHandler.ToObject< T > |
( |
object |
jsonTree, |
|
|
T |
userType |
|
) |
| |
|
inline |