x4Trace Documentation v1.0
Loading...
Searching...
No Matches
Tools.Serialize.JsonSerialize Class Reference

Represents a JSON serialization. More...

Static Public Member Functions

static byte[] Serialization (object obj, Type t)
 Serialize the object.
 
static object DeSerialization (byte[] buffer, Type t)
 Deserialize the object.
 
static byte[] Serialization (object obj, Type t, params Type[] types)
 Serializes the object.
 
static object DeSerialization (byte[] buffer, Type t, params Type[] types)
 Deserializes the object.
 
static object CopyObject (object obj, Type t, params Type[] types)
 Copies the objejct.
 

Detailed Description

Represents a JSON serialization.

Member Function Documentation

◆ CopyObject()

static object Tools.Serialize.JsonSerialize.CopyObject ( object obj,
Type t,
params Type[] types )
static

Copies the objejct.

Parameters
objObject to copy.
tType of object.
typesKnown types.
Returns
Copied object.

◆ DeSerialization() [1/2]

static object Tools.Serialize.JsonSerialize.DeSerialization ( byte[] buffer,
Type t )
static

Deserialize the object.

Parameters
bufferByte array of object.
tType of object.
Returns
The deserialized object.

◆ DeSerialization() [2/2]

static object Tools.Serialize.JsonSerialize.DeSerialization ( byte[] buffer,
Type t,
params Type[] types )
static

Deserializes the object.

Parameters
bufferArray of buffer of object.
tType of object.
typesKnown types.
Returns
Deserialized object.

◆ Serialization() [1/2]

static byte[] Tools.Serialize.JsonSerialize.Serialization ( object obj,
Type t )
static

Serialize the object.

Parameters
objObject to serialize.
tType of object.
Returns
The byte array of object.

◆ Serialization() [2/2]

static byte[] Tools.Serialize.JsonSerialize.Serialization ( object obj,
Type t,
params Type[] types )
static

Serializes the object.

Parameters
objObject to serialize.
tType of object.
typesKnown types.
Returns
Array of bytes of object.

The documentation for this class was generated from the following file: