Table of Contents

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

bool

CopyTo(JToken[], int)

public override void CopyTo(JToken[] array, int arrayIndex)

Parameters

array JToken[]
arrayIndex int

FromObject(object)

public static JArray FromObject(object o)

Parameters

o object

Returns

JArray

GetEnumerator()

public IEnumerator<JToken> GetEnumerator()

Returns

IEnumerator<JToken>

IndexOf(JToken)

public override int IndexOf(JToken item)

Parameters

item JToken

Returns

int

Insert(int, JToken)

public override void Insert(int index, JToken item)

Parameters

index int
item JToken

Parse(string)

public static JArray Parse(string json)

Parameters

json string

Returns

JArray

Remove(JToken)

public override bool Remove(JToken item)

Parameters

item JToken

Returns

bool

RemoveAt(int)

public override void RemoveAt(int index)

Parameters

index int

ToObject<T>()

public override T ToObject<T>()

Returns

T

Type Parameters

T
To top