Share via


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

Name Description
IsBinaryFormat

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

Methods

Name Description
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