Json.Encode(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a data object to a string that is in the JavaScript Object Notation (JSON) format.
public static string Encode (object value);
static member Encode : obj -> string
Public Shared Function Encode (value As Object) As String
Parameters
- value
- Object
The data object to convert.
Returns
Returns a string of data converted to the JSON format.