Json.NET - Quick Starts & API Documentation
ObjectCreationHandling Enumeration
Namespaces ► Newtonsoft.Json ► ObjectCreationHandling
Specifies how object creation is handled by the JsonSerializer.
Declaration Syntax| C# | Visual Basic | Visual C++ |
public enum ObjectCreationHandling
Public Enumeration ObjectCreationHandling
public enum class ObjectCreationHandling
Members| Member | Description |
|---|---|
| Auto |
Reuse existing objects, create new objects when needed.
|
| Reuse |
Only reuse existing objects.
|
| Replace |
Always create new objects.
|