C# Класс Org.Openengsb.Loom.CSharp.Bridge.Implementation.Communication.Json.AbstractJsonMarshaller

Наследование: Newtonsoft.Json.JsonConverter
Показать файл Открыть проект

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

Метод Описание
ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void

Защищенные методы

Метод Описание
CanTypeBeExtendedWithOpenEngsbModelTail ( Type objectType ) : System.Boolean

This method checks, if a Type can be extended with IOpenEngSBModel.

IsException ( Type objectType ) : bool

Checks if the type is an Exception type (Ends with Exception)

IsMapType ( Type objectType ) : bool

Checks if Type is Map (Dictaionary

Приватные методы

Метод Описание
CreateJsonWithoutXMLIgnoreFields ( JsonWriter writer, object value, JsonSerializer serializer ) : void
TestIfNullValueProducesTheException ( JsonSerializationException jsonex ) : System.Boolean
isBasicType ( Type objectType ) : System.Boolean
isCollection ( Type objectType ) : System.Boolean
isObjectType ( Type objectType ) : System.Boolean
isOpenEngSBModelTypeImplemented ( Type objectType ) : System.Boolean

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

CanTypeBeExtendedWithOpenEngsbModelTail() защищенный Метод

This method checks, if a Type can be extended with IOpenEngSBModel.
protected CanTypeBeExtendedWithOpenEngsbModelTail ( Type objectType ) : System.Boolean
objectType System.Type
Результат System.Boolean

IsException() защищенный Метод

Checks if the type is an Exception type (Ends with Exception)
protected IsException ( Type objectType ) : bool
objectType System.Type
Результат bool

IsMapType() защищенный Метод

Checks if Type is Map (Dictaionary
protected IsMapType ( Type objectType ) : bool
objectType System.Type
Результат bool

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

public ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
reader Newtonsoft.Json.JsonReader
objectType System.Type
existingValue object
serializer Newtonsoft.Json.JsonSerializer
Результат object

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

public WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void
writer Newtonsoft.Json.JsonWriter
value object
serializer Newtonsoft.Json.JsonSerializer
Результат void