Json.Encode(Object) Json.Encode(Object) Json.Encode(Object) Method

Definition

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 Object Object

The data object to convert.

Returns

Returns a string of data converted to the JSON format.

Applies to