#
Supported data types
#
Simple (system) types
System.Boolean
;System.Byte
;System.Char
;System.DateOnly
(for .NET 6.0 or greater);System.DateTime
;System.DateTimeOffset
;System.Decimal
;System.Double
;System.Guid
;System.Int16
;System.Int32
;System.Int64
;System.UInt16
;System.UInt32
;System.UInt64
;System.SByte
;System.Single
;System.String
;System.TimeOnly
(for .NET 6.0 or greater);System.TimeSpan
;
#
Enumeration
enum
.
There is the possibility to select the mode of serializing the value of a field with an enumeration type as a number or as a string.
#
Arrays and lists
System.Collections.Generic.List<TValue>
— lists.System.Array
— arrays (including multidimensional and jagged).
The value TValue
can be of any supported data types.
#
Dictionaries
System.Collections.Generic.Dictionary<TKey, TValue>
— collection “key-value”;System.Collections.Generic.KeyValuePair<TKey, TValue>
— pare “key-value”.
The TKey
key can be one of the following data types:
System.Byte
;System.Char
;System.Guid
;System.Int16
;System.Int32
;System.Int64
;System.SByte
;System.String
;System.UInt16
;System.UInt32
;System.UInt64
.
The value TValue
can be of any supported data types.
#
User defined data types
- Business objects are custom classes containing a public constructor without parameters and public properties.
#
Planned support
System.Net.IPAddress
;Microsoft.SqlServer.Types.SqlGeography
;Microsoft.SqlServer.Types.SqlGeometry
;Microsoft.SqlServer.Types.HierarchyId
.
#
Not supported
Anonymous data types are not supported.