Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ClientRuntimeContext.ParseObjectFromJsonString method

Parses the specified JavaScript Object Notation (JSON) string and gets an object from it.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  Microsoft.SharePoint.Client.Phone.Runtime (in Microsoft.SharePoint.Client.Phone.Runtime.dll)  Microsoft.SharePoint.Client.Phone.Runtime (in Microsoft.SharePoint.Client.Phone.Runtime.dll)  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)
public Object ParseObjectFromJsonString(
	string json
)

Parameters

json
Type: System.String

The String object that represents the string in JSON format.

Return value

Type: 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()".

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.