SPField.RenderFieldValueAsJson method

SharePoint 2013

When overridden in a derived class, returns the specified value in JSON format.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public virtual 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.

The default implementation returns a null reference (Nothing in Visual Basic).