DeepEquals Method (t1, t2)

Json.NET

Json.NET - Quick Starts & API Documentation DeepEquals Method (t1, t2)
NamespacesNewtonsoft.Json.LinqJTokenDeepEquals(JToken, JToken)
Compares the values of two tokens, including the values of all descendant tokens.
Declaration Syntax
C# Visual Basic Visual C++
public static bool DeepEquals(
	JToken t1,
	JToken t2
)
Public Shared Function DeepEquals ( _
	t1 As JToken, _
	t2 As JToken _
) As Boolean
public:
static bool DeepEquals(
	JToken^ t1, 
	JToken^ t2
)
Parameters
t1 (JToken)
The first JToken to compare.
t2 (JToken)
The second JToken to compare.
Return Value
true if the tokens are equal; otherwise false.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.5.0.0 (4.5.6.14930)