C# Класс Hypermedia.Json.JsonSerializer

Наследование: IJsonSerializer
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
DeserializeValue ( Type type, JsonLite.Ast.JsonValue jsonValue ) : object

Deserialize the given JSON value according to the specified CLR type.

JsonSerializer ( ) : System

Constructor.

JsonSerializer ( IJsonConverterFactory jsonConverterFactory ) : System

Constructor.

JsonSerializer ( IJsonConverterFactory jsonConverterFactory, IFieldNamingStrategy fieldNamingStrategy ) : System

Constructor.

SerializeValue ( object value ) : JsonLite.Ast.JsonValue

Serialize an inline object.

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

DeserializeValue() публичный Метод

Deserialize the given JSON value according to the specified CLR type.
public DeserializeValue ( Type type, JsonLite.Ast.JsonValue jsonValue ) : object
type System.Type The CLR type to deserialize the JSON value to.
jsonValue JsonLite.Ast.JsonValue The JSON value to deserialize.
Результат object

JsonSerializer() публичный Метод

Constructor.
public JsonSerializer ( ) : System
Результат System

JsonSerializer() публичный Метод

Constructor.
public JsonSerializer ( IJsonConverterFactory jsonConverterFactory ) : System
jsonConverterFactory IJsonConverterFactory The JSON converter factory.
Результат System

JsonSerializer() публичный Метод

Constructor.
public JsonSerializer ( IJsonConverterFactory jsonConverterFactory, IFieldNamingStrategy fieldNamingStrategy ) : System
jsonConverterFactory IJsonConverterFactory The JSON converter factory.
fieldNamingStrategy IFieldNamingStrategy The field naming strategy.
Результат System

SerializeValue() публичный Метод

Serialize an inline object.
public SerializeValue ( object value ) : JsonLite.Ast.JsonValue
value object The value to serialization inline.
Результат JsonLite.Ast.JsonValue