JsonObjectSerializerDeserialize(ReadOnlyMemoryByte, Type) Method

Deserialize the given bytes to an object of the given type.

Definition

Namespace: SphinxConnector.FluentApi.Json
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public virtual Object Deserialize(
	ReadOnlyMemory<byte> json,
	Type type
)

Parameters

json  ReadOnlyMemoryByte
The JSON bytes to construct the result from.
type  Type
The type to construct from the JSON bytes.

Return Value

Object
The constructed object.

Remarks

When not overridden, this method will convert the given bytes to a chars (using Utf8 encoding) and invoke Deserialize(ReadOnlyMemoryChar, Type).

See Also