Class JsonPairSerializer<T1, T2>
Class used to serialize related pairs of data.
Implemented generally for reuseability across the codebase,
but intended specificly to support use-cases related to
CRM WebAdmin and data-import batch-tasks.
Inheritance
JsonPairSerializer<T1, T2>
Assembly: SoCore.dll
Syntax
public static class JsonPairSerializer<T1, T2> : Object
Type Parameters
Name |
Description |
T1 |
Typically of type CRM.Services.ImportLine[]
|
T2 |
Typically of type CRM.Services.ImportColumnInfo[]
|
Methods
Serialize(T1, T2)
Class used to serialize related pairs of data.
Implemented generally for reuseability across the codebase,
but intended specificly to support use-cases related to
CRM WebAdmin and data-import batch-tasks.
Declaration
public static string Serialize(T1 v1, T2 v2)
Parameters
Type |
Name |
Description |
T1 |
v1 |
|
T2 |
v2 |
|
Returns
SerializeAsStream(T1, T2)
Class used to serialize related pairs of data.
Implemented generally for reuseability across the codebase,
but intended specificly to support use-cases related to
CRM WebAdmin and data-import batch-tasks.
Declaration
public static Stream SerializeAsStream(T1 v1, T2 v2)
Parameters
Type |
Name |
Description |
T1 |
v1 |
|
T2 |
v2 |
|
Returns
TryDeserialize(String, out T1, out T2)
Class used to serialize related pairs of data.
Implemented generally for reuseability across the codebase,
but intended specificly to support use-cases related to
CRM WebAdmin and data-import batch-tasks.
Declaration
public static bool TryDeserialize(string value, out T1 v1, out T2 v2)
Parameters
Type |
Name |
Description |
String |
value |
|
T1 |
v1 |
|
T2 |
v2 |
|
Returns
TryDeserializeFromStream(Stream, out T1, out T2)
Class used to serialize related pairs of data.
Implemented generally for reuseability across the codebase,
but intended specificly to support use-cases related to
CRM WebAdmin and data-import batch-tasks.
Declaration
public static bool TryDeserializeFromStream(Stream stream, out T1 v1, out T2 v2)
Parameters
Type |
Name |
Description |
Stream |
stream |
|
T1 |
v1 |
|
T2 |
v2 |
|
Returns