Bagikan melalui


IDeserializableObject Interface

Definition

Interface used to deserialize objects when the underlying format (binary or JSON) is not known.

public interface class IDeserializableObject
public interface IDeserializableObject
type IDeserializableObject = interface
Public Interface IDeserializableObject

Properties

IsBinaryFormat

Returns true if the underlying object got serialized in binary format and false if it was with JSON.

Methods

GetJsonStringPropertyValue(String)

Gets the value of a property that belongs to the underlying object if formatted with JSON.

ToObject(Type)

Deserializes and returns the object in the underlying stream.

ToObject<T>()

Same as ToObject(Type).

Applies to