Represents a JSON serialization.
More...
|
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.
|
|
Represents a JSON serialization.
◆ CopyObject()
static object Tools.Serialize.JsonSerialize.CopyObject |
( |
object | obj, |
|
|
Type | t, |
|
|
params Type[] | types ) |
|
static |
Copies the objejct.
- Parameters
-
obj | Object to copy. |
t | Type of object. |
types | Known types. |
- Returns
- Copied object.
◆ DeSerialization() [1/2]
static object Tools.Serialize.JsonSerialize.DeSerialization |
( |
byte[] | buffer, |
|
|
Type | t ) |
|
static |
Deserialize the object.
- Parameters
-
buffer | Byte array of object. |
t | Type 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
-
buffer | Array of buffer of object. |
t | Type of object. |
types | Known types. |
- Returns
- Deserialized object.
◆ Serialization() [1/2]
static byte[] Tools.Serialize.JsonSerialize.Serialization |
( |
object | obj, |
|
|
Type | t ) |
|
static |
Serialize the object.
- Parameters
-
obj | Object to serialize. |
t | Type 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
-
obj | Object to serialize. |
t | Type of object. |
types | Known types. |
- Returns
- Array of bytes of object.
The documentation for this class was generated from the following file:
- Z:/x4t/src/Tools/Serialize/JsonSerialize.cs