JsonReader.ReadDictionary method

Creates a Dictionary<TKey, TValue> object 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 ReadDictionary As Dictionary(Of String, Object)
'Usage
Dim instance As JsonReader
Dim returnValue As Dictionary(Of String, Object)

returnValue = instance.ReadDictionary()
public Dictionary<string, Object> ReadDictionary()

Return value

Type: System.Collections.Generic.Dictionary<String, Object>
Dictionary<TKey, TValue> .

Remarks

This method calls the ReadKeyValue() to create a Dictionary<TKey, TValue> with the key of String and the value of Object. The JSON string that this method uses to create the Dictionary<TKey, TValue> must start with the “{” and end with the “}”.

See also

Reference

JsonReader class

JsonReader members

ReadDictionary overload

Microsoft.SharePoint.Client namespace