ApiClientSerializationOptions Constructor |
Create serialization options.
Namespace:
ArangoDBNetStandard.Serialization
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax public ApiClientSerializationOptions(
bool useCamelCasePropertyNames,
bool ignoreNullValues,
bool useStringEnumConversion = false
)
Public Sub New (
useCamelCasePropertyNames As Boolean,
ignoreNullValues As Boolean,
Optional useStringEnumConversion As Boolean = false
)
public:
ApiClientSerializationOptions(
bool useCamelCasePropertyNames,
bool ignoreNullValues,
bool useStringEnumConversion = false
)
new :
useCamelCasePropertyNames : bool *
ignoreNullValues : bool *
?useStringEnumConversion : bool
(* Defaults:
let _useStringEnumConversion = defaultArg useStringEnumConversion false
*)
-> ApiClientSerializationOptions
Parameters
- useCamelCasePropertyNames
- Type: SystemBoolean
Whether property names should be serialized using camelCase. - ignoreNullValues
- Type: SystemBoolean
Whether null values should be ignored - i.e. not defined at all in the serialized string. - useStringEnumConversion (Optional)
- Type: SystemBoolean
Whether to serialize enum values to a string value instead of an integer.
See Also