Skip to main content

TypeNameHandling Enum

NuGet: GHIElectronics.TinyCLR.Data.Json
Assembly: GHIElectronics.TinyCLR.Data.Json
Namespace: GHIElectronics.TinyCLR.Data.Json

Controls whether type names are written into the JSON for serialized objects.

public enum TypeNameHandling

Fields​

NameValueDescription
None0Do not write type names.
Objects1Write type names for objects.
Auto4Write type names only when the value's type differs from the declared type.