Click or drag to resize

JsonObjectSerializerDeserialize(ReadOnlyMemoryByte, Type) Method

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

Namespace: SphinxConnector.FluentApi.Json
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.0.0
Syntax
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