Add JsonCloneSettings to disable copy annotations (#2757)

Co-authored-by: Sneha Shivakumar <snshivakumar@microsoft.com>
This commit is contained in:
James Newton-King
2022-11-14 08:55:47 +08:00
committed by GitHub
co-authored by Sneha Shivakumar
parent d0a328e8a4
commit b13717a1c1
13 changed files with 265 additions and 49 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ namespace Newtonsoft.Json.Tests.Linq
public void RawClone()
{
JRaw r1 = new JRaw("raw1");
JToken r2 = r1.CloneToken();
JToken r2 = r1.DeepClone();
CustomAssert.IsInstanceOfType(typeof(JRaw), r2);
}