JsonSerializeOptions Class |
Namespace: NLog.Targets
The JsonSerializeOptions type exposes the following members.
Name | Description | |
---|---|---|
JsonSerializeOptions | Initializes a new instance of the JsonSerializeOptions class |
Name | Description | |
---|---|---|
EnumAsInteger |
Serialize enum as string value
| |
EscapeForwardSlash |
Should forward slashes be escaped? If true, / will be converted to \/
| |
EscapeUnicode |
Should non-ascii characters be encoded
| |
MaxRecursionLimit |
How far down the rabbit hole should the Json Serializer go with object-reflection before stopping
| |
SanitizeDictionaryKeys |
Should dictionary keys be sanitized. All characters must either be letters, numbers or underscore character (_).
Any other characters will be converted to underscore character (_)
|