JArrayExtensions.GetInt32 method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Json.Extensions |
---|---|
Assembly | Skybrud.Essentials.dll |
GetInt32(JArray, int)
Extension method
Gets the int value of the item at the specified index
in the
array.
public static int GetInt32(this JArray array, int index)
GetInt32(JArray, string)
Extension method
Gets the int value of the token matching the specified path
, or
0
if path
doesn't match a token.
public static int GetInt32(this JArray array, string path)