Click or drag to resize

JsonSerializeOptions Class

Options for JSON serialization
Inheritance Hierarchy
SystemObject
  NLog.TargetsJsonSerializeOptions

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
public class JsonSerializeOptions

The JsonSerializeOptions type exposes the following members.

Constructors
  NameDescription
Public methodJsonSerializeOptions
Initializes a new instance of the JsonSerializeOptions class
Top
Properties
  NameDescription
Public propertyEnumAsInteger
Serialize enum as string value
Public propertyEscapeUnicode
Should non-ascii characters be encoded
Public propertyMaxRecursionLimit
How far down the rabbit hole should the Json Serializer go with object-reflection before stopping
Public propertySanitizeDictionaryKeys
Should dictionary keys be sanitized. All characters must either be letters, numbers or underscore character (_). Any other characters will be converted to underscore character (_)
Top
See Also