Add JsonCloneSettings to disable copy annotations (#2757)
Co-authored-by: Sneha Shivakumar <snshivakumar@microsoft.com>
This commit is contained in:
co-authored by
Sneha Shivakumar
parent
d0a328e8a4
commit
b13717a1c1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user