This topic has not yet been rated - Rate this topic

SPFieldLookup.RenderFieldValueAsJson method

SharePoint 2013

Returns the specified value in JSON format.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public override string RenderFieldValueAsJson(
	Object value
)

Parameters

value
Type: System.Object
The value that is converted to JSON.

Return value

Type: System.String
The value that has been converted to JSON.

This override returns the lookup values as a valid JSON-formatted string.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.