Share via


JsonReader.ReadArray<T> method

Creates a generic array from the JSON string. This member is reserved for internal use and is not intended to be used directly from your code.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Public Function ReadArray(Of T) As T()
'Usage
Dim instance As JsonReader
Dim returnValue As T()

returnValue = instance.ReadArray()
public T[] ReadArray<T>()

Type parameters

  • T
    The type of the value in the generic array.

Return value

Type: []
JsonTokenType .

Remarks

The JSON string that this method uses to create an array must start with the “[” and end with the “]”, such as “[value1,value2,…]”.

See also

Reference

JsonReader class

JsonReader members

Microsoft.SharePoint.Client namespace