Enum PreserveReferencesHandling
- Namespace
- Dynamicweb.Core.Json.Settings
- Assembly
- Dynamicweb.Core.dll
Specifies reference handling options for the sonSerializer.
Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable.
[Flags]
public enum PreserveReferencesHandling
Fields
All = Objects | Arrays
- Preserve references when serializing.
Arrays = 2
- Preserve references when serializing into a JSON array structure.
None = 0
- Do not preserve references when serializing types.
Objects = 1
- Preserve references when serializing into a JSON object structure.