JsonArrayIndexOf Method

Determines the index of a specific value in the JsonArray.

Definition

Namespace: KGySoft.Json
Assembly: KGySoft.Json (in KGySoft.Json.dll) Version: 3.0.0
C#
public int IndexOf(
	JsonValue item
)

Parameters

item  JsonValue
The JsonValue to locate in the JsonArray.

Return Value

Int32
The index of item if found in the array; otherwise, -1.

Implements

IListTIndexOf(T)

See Also