Classes & Structures

 NameDescription
AliasAttribute

AliasAttribute can be used to change the field, property or type name, which will be used while serialization and de-serialization. It can be applied to a type itself or a member of class/record.

ConverterAttribute

ConverterAttribute can be applied to type or field/property to specify custom converter, which will be used to serialize and de-serialize values.

DefClassAttribute

DefClassAttribute can be applied to object property to specify the default class of property value.

ElemAliasAttribute

ElemAliasAttribute can be used to change the name of array elements, which will be used while serialization. It can be applied to array type itself or an array member of class/record.

ElemDefClassAttribute

ElemDefClassAttribute can be applied to array type or field/property of array type to specify the default class of array elements.

ElemFillReadAttribute

ElemFillReadAttribute is used to specify fill-read mode for array elements. The attribute can be specified for array type or field or property of array type.

ESerialize 
FillReadAttribute

FillReadAttribute can be applied to type or class/record member to specify that the value should be read in fill-read mode.

NoInheritedAttribute

NoInheritedAttribute can be applied to class type to prevent inherited from ancestor members from been serialized.

SerializableAttribute

SerializableAttribute can be applied to class or record member to  specify the this member should be serialized. Like NG.Serialization.TransientAttribute it can be also applied to class or record type.

SkipAllAttribute

SkipAllAttribute can be applied to record or class type to specify that any unknown field or property should be ignored silently while de-seializing.

SkipMemberAttribute

SkipMemberAttribute can be applied to record or class type to specify field or property name which is ignored silently while de-seializing.

TAliasBaseAttr 
TBinaryData

TBinaryData is a built-in serialization engine type, which allows to serialize and de-serialize binary data.

TClassBaseAttr 
TConverter

TConverter class can be used as a base class for writing custom value converters. Converters acts as custom serialization and de-serialization handlers of values of some type.

TDeserializer

TDeserializer is the base class type for de-serializer objects, which can restore, previously serialized by TSerializer descendants values of various data types from different formats, such as Binary, XML or JSON.

TMetadata

TMetadata class is used internally to handle all required by serialization engine type descriptors. In current version it does not provide any useful access to cached data. There are only two public methods which can be used by the user: NG.Serialization.TMetadata.RegisterClass(TClass) and NG.Serialization.TMetadata.RegisterClasses(array of TClass).

TransientAttribute

TransientAttribute can be applied to class or record member to prevent it serialization. It can be also applied to class or record type to specify that it members should not be serialized.

TSerializer

TSerializer is the base class type for serializer objects, which can serialize values of various data types into different destination formats, such as Binary, XML or JSON.

TSerlnAttr 
Top