JsonNumberFormat

Namespace: SnowBank.Data.Json · enum

Implements: IComparable, ISpanFormattable, IFormattable, IConvertible

Specifies how numeric members are serialized into JSON

Fields

Inherits

Inherits = 0

Inherits the settings from the parent context

Number

Number = 1

Serialize numbers as numbers (the default)

String

String = 2

Serialize numbers as string literals