Json Object SerializerDeserialize(Read Only MemoryByte, 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
The constructed object.
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public virtual Object Deserialize(
ReadOnlyMemory<byte> json,
Type type
)VB
Public Overridable Function Deserialize (
json As ReadOnlyMemory(Of Byte),
type As Type
) As ObjectParameters
- json ReadOnlyMemoryByte
- The JSON bytes to construct the result from.
- type Type
- The type to construct from the JSON bytes.
Return Value
ObjectThe constructed object.
Remarks
When not overridden, this method will convert the given bytes to a chars (using Utf8 encoding)
and invoke Deserialize(ReadOnlyMemoryChar, Type).