共用方式為


ISerializer Interface

Definition

An interface for serializing and deserializing JSON objects.

public interface ISerializer
type ISerializer = interface
Public Interface ISerializer
Derived

Methods

DeserializeObject<T>(Stream)

Deserializes the stream to an object of the specified type.

DeserializeObject<T>(String)

Deserializes the JSON string to an object of the specified type.

SerializeObject(Object)

Serializes the specified object into a JSON string.

Extension Methods

SerializeAsJsonContent(ISerializer, Object)

Serialize an object into a HttpContent object

Applies to