Constructors
- JArray() Initializes a new instance of the JArray class.
- JArray(JArray) Initializes a new instance of the JArray class from another JArray object.
- JArray(Object) Initializes a new instance of the JArray class with the specified content.
- JArray(Object[]) Initializes a new instance of the JArray class with the specified content.
Methods
- Add(JToken) sealed Adds an item to the JArray.
- Clear() sealed Removes all items from the JArray.
- Contains(JToken) sealed Determines whether the JArray contains a specific value.
-
Copy
To(JToken[], sealed Copies the elements of the JArray to an array, starting at a particular array index.Int32) -
From
Object(Object) static Creates a JArray from an object. -
From
Object(Object, static Creates a JArray from an object.Json Serializer) -
Get
Enumerator() sealed Returns an enumerator that iterates through the collection. -
Index
Of(JToken) sealed Determines the index of a specific item in the JArray. -
Insert(Int32,
JToken) sealed Inserts an item to the JArray at the specified index. -
Load(Json
Reader) static Loads an JArray from a JsonReader. -
Load(Json
Reader, static Loads an JArray from a JsonReader.Json Load Settings) -
Load
Async(Json static Asynchronously loads a JArray from a JsonReader.Reader, Cancellation Token) -
Load
Async(Json static Asynchronously loads a JArray from a JsonReader.Reader, Json Load Settings, Cancellation Token) - Parse(String) static Load a JArray from a string that contains JSON.
-
Parse(String,
Json static Load a JArray from a string that contains JSON.Load Settings) - Remove(JToken) sealed Removes the first occurrence of a specific object from the JArray.
-
Remove
At(Int32) sealed Removes the JArray item at the specified index. -
Write
To(Json virtual Writes this token to a JsonWriter.Writer, Json Converter[]) -
Write
To virtual Writes this token to a JsonWriter asynchronously.Async(Json Writer, Cancellation Token, Json Converter[])
Properties
-
Children
Tokens protectedvirtual Gets the container's children tokens. -
Is
Read sealed Gets a value indicating whether the JArray is read-only.Only - Item sealed
- Type virtual Gets the node type for this JToken.