Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RenderFieldValueAsJson method

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


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.

© 2015 Microsoft