ClientRuntimeContext.ParseObjectFromJsonString 方法

Parses the specified JavaScript 对象表示法 (JSON) string and gets an object from it.

命名空间:  Microsoft.SharePoint.Client
程序集:   Microsoft.SharePoint.Client.Silverlight.Runtime(位于 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中);  Microsoft.SharePoint.Client.Phone.Runtime(位于 Microsoft.SharePoint.Client.Phone.Runtime.dll 中)  Microsoft.SharePoint.Client.Runtime(位于 Microsoft.SharePoint.Client.Runtime.dll 中)

语法

声明
Public Function ParseObjectFromJsonString ( _
    json As String _
) As Object
用法
Dim instance As ClientRuntimeContext
Dim json As String
Dim returnValue As Object

returnValue = instance.ParseObjectFromJsonString(json)
public Object ParseObjectFromJsonString(
    string json
)

参数

返回值

类型:System.Object
The object parsed from the JSON string.

备注

This method creates an object from the specified JSON string, which can contain an object creation expression such as "new SP.Guid()" or "new Date()".

另请参阅

引用

ClientRuntimeContext 类

ClientRuntimeContext 成员

Microsoft.SharePoint.Client 命名空间