C# Класс XSerializer.JsonSerializer

A factory class that creates instances of the IXSerializer interface.
An instance of the generic JsonSerializer{T} class is returned from each method in this class.
Показать файл Открыть проект

Открытые методы

Метод Описание
Create ( Type type ) : IXSerializer

Create an instance of IXSerializer for the given type using a default configuration.

An instance of the generic JsonSerializer{T} class of type type is returned from this method.

Create ( Type type, IJsonSerializerConfiguration configuration ) : IXSerializer

Create an instance of IXSerializer for the given type using the specified configuration.

An instance of the generic JsonSerializer{T} class of type type is returned from this method.

Описание методов

Create() публичный статический Метод

Create an instance of IXSerializer for the given type using a default configuration.
An instance of the generic JsonSerializer{T} class of type type is returned from this method.
public static Create ( Type type ) : IXSerializer
type System.Type The type of the object that the serializer will operate on.
Результат IXSerializer

Create() публичный статический Метод

Create an instance of IXSerializer for the given type using the specified configuration.
An instance of the generic JsonSerializer{T} class of type type is returned from this method.
public static Create ( Type type, IJsonSerializerConfiguration configuration ) : IXSerializer
type System.Type The type of the object that the serializer will operate on.
configuration IJsonSerializerConfiguration The configuration for the serializer.
Результат IXSerializer