Exemplo n.º 1
0
        public ReadOnlyJObject DeepClone()
        {
            var json  = (JObject)_json.DeepClone(); // Source is known to be a JObject
            var clone = new ReadOnlyJObject(json);

            return(clone);
        }
 /// <inheritdoc/>
 public override int GetHashCode(ReadOnlyJObject obj) => JTokenComparer.Default.GetHashCode(obj?._json);
 /// <inheritdoc/>
 public override bool Equals(ReadOnlyJObject x, ReadOnlyJObject y) => JTokenComparer.Default.Equals(x?._json, y?._json);