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.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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 propertyEscapeForwardSlash
Should forward slashes be escaped? If true, / will be converted to \/
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