SP.ClientRuntimeContext.parseObjectFromJsonString(json) Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Applies To

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

var value = SP.ClientRuntimeContext.parseObjectFromJsonString(json);


  • json
    The String object that represents the string in JSON format.

Type: String

Return Value

Type: Object

Applies To

SP.ClientRuntimeContext Class


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

See Also


SP.ClientRuntimeContext Methods

SP.ClientRuntimeContext Properties

SP Namespace