From f1587f073dcb06934738815429eb7d50fe80f50c Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Thu, 18 Aug 2016 21:32:13 +1200 Subject: [PATCH] -Documentation --- Src/Newtonsoft.Json/TypeNameHandling.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Src/Newtonsoft.Json/TypeNameHandling.cs b/Src/Newtonsoft.Json/TypeNameHandling.cs index 9a5a8cfe..93f1daa0 100644 --- a/Src/Newtonsoft.Json/TypeNameHandling.cs +++ b/Src/Newtonsoft.Json/TypeNameHandling.cs @@ -61,6 +61,9 @@ namespace Newtonsoft.Json /// /// Include the .NET type name when the type of the object being serialized is not the same as its declared type. + /// Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON + /// you must specify a root type object with + /// or . /// Auto = 4 }