Click or drag to resize
Json.NET

JTokenEqualityComparer Class

 
Compares tokens to determine whether they are equal.
Inheritance Hierarchy
SystemObject
  Newtonsoft.Json.LinqJTokenEqualityComparer

Namespace:  Newtonsoft.Json.Linq
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public class JTokenEqualityComparer : IEqualityComparer<JToken>

The JTokenEqualityComparer type exposes the following members.

Constructors
  NameDescription
Public methodJTokenEqualityComparer
Initializes a new instance of the JTokenEqualityComparer class
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEquals(JToken, JToken)
Determines whether the specified objects are equal.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetHashCode(JToken)
Returns a hash code for the specified object.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also