<PackageReference Include="Newtonsoft.Json" Version="14.0.1-beta2" />

Newtonsoft.Json.Linq.JContainer

Represents a token that can contain other tokens.
namespace Newtonsoft.Json.Linq { public abstract class JContainer : JToken, IList<JToken>, ICollection<JToken>, IEnumerable<JToken>, IEnumerable, ITypedList, IBindingList, IList, ICollection, INotifyCollectionChanged { protected abstract IList<JToken> ChildrenTokens { get; } JToken IList<JToken>.this[int index] { get; set; } [System.Runtime.CompilerServices.Nullable(2)] object IList.this[int index] { [System.Runtime.CompilerServices.NullableContext(2)] get; [System.Runtime.CompilerServices.NullableContext(2)] set; } public int Count { get; } public event ListChangedEventHandler ListChanged; public event AddingNewEventHandler AddingNew; public event NotifyCollectionChangedEventHandler CollectionChanged; protected virtual void OnAddingNew(AddingNewEventArgs e); protected virtual void OnListChanged(ListChangedEventArgs e); protected virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs e); public IEnumerable<JToken> Descendants(); public IEnumerable<JToken> DescendantsAndSelf(); public virtual void Add(object content); public void AddFirst(object content); public JsonWriter CreateWriter(); public void ReplaceAll(object content); public void RemoveAll(); public void Merge(object content); public void Merge(object content, JsonMergeSettings settings); } }