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
| Name | Value | Description |
|---|---|---|
None | 0 | Do not write type names. |
Objects | 1 | Write type names for objects. |
Auto | 4 | Write type names only when the value's type differs from the declared type. |