Serializer Class

Definition

An ISerializer implementation using the JSON.NET serializer.

public class Serializer : Microsoft.Graph.ISerializer
type Serializer = class
    interface ISerializer
Public Class Serializer
Implements ISerializer
Inheritance
Serializer
Implements

Constructors

Name Description
Serializer()

Constructor for the serializer with defaults for the JsonSerializer settings.

Serializer(JsonSerializerSettings)

Constructor for the serializer.

Methods

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

Name Description
SerializeAsJsonContent(ISerializer, Object)

Serialize an object into a HttpContent object

Applies to