Class JArray
- Namespace
- Dynamicweb.Core.Json
- Assembly
- Dynamicweb.Core.dll
Wrapper for Newtonsoft.Json.Linq.JArray: Only use to fix legacy issues. Never use in new code!
public class JArray : JContainer, ICloneable, IList, ICollection, IList<JToken>, ICollection<JToken>, IEnumerable<JToken>, IEnumerable
- Inheritance
-
JArray
- Implements
- Inherited Members
- Extension Methods
Methods
Add(object)
public override void Add(object content)
Parameters
content
object
Clear()
public override void Clear()
Contains(JToken)
public override bool Contains(JToken item)
Parameters
item
JToken
Returns
CopyTo(JToken[], int)
public override void CopyTo(JToken[] array, int arrayIndex)
Parameters
FromObject(object)
public static JArray FromObject(object o)
Parameters
o
object
Returns
GetEnumerator()
public IEnumerator<JToken> GetEnumerator()
Returns
IndexOf(JToken)
public override int IndexOf(JToken item)
Parameters
item
JToken
Returns
Insert(int, JToken)
public override void Insert(int index, JToken item)
Parameters
Parse(string)
public static JArray Parse(string json)
Parameters
json
string
Returns
Remove(JToken)
public override bool Remove(JToken item)
Parameters
item
JToken
Returns
RemoveAt(int)
public override void RemoveAt(int index)
Parameters
index
int
ToObject<T>()
public override T ToObject<T>()
Returns
- T
Type Parameters
T