Serialize Method
Definition
- Namespace
- Savvyio.Extensions.Text.Json
- Assemblies
- Savvyio.Extensions.Text.Json.dll
Serialize<TValue>(TValue)
Serializes the specified value to an object of Stream.
public Stream Serialize<TValue>(TValue value)
Parameters
valueTValueThe object to serialize to Stream format.
Returns
Type Parameters
TValue
Serialize(object, Type)
Serializes the specified value to an object of Stream.
public Stream Serialize(object value, Type inputType)
Parameters
valueobjectThe object to serialize to Stream format.
inputTypeTypeThe type of the object to serialize.