 | ConventionConfigurationSerializeTypeAsJson Property |
Gets or sets a method that determines if the given type should be serialized to JSON. The default is to serialize types to JSON
if they can't be stored in any other Sphinx attribute type.
Namespace:
SphinxConnector.FluentApi
Assembly:
SphinxConnector (in SphinxConnector.dll) Version: 5.4.1
Syntaxpublic Func<Type, bool> SerializeTypeAsJson { get; set; }
Public Property SerializeTypeAsJson As Func(Of Type, Boolean)
Get
Set
Property Value
Type:
FuncType,
Boolean
Remarks
By default, the following types are
not serialized to JSON :
- Numeric types like int, float, decimal
- Strings
- Generic enumerables with numeric types
- Guid's
See Also