Serializes the specified object to a JSON string.
Namespace: Newtonsoft.JsonAssembly: Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 4.5.0.0 (4.5.11.15729)
Syntax
| C# |
|---|
public static string SerializeObject( Object value ) |
| Visual Basic |
|---|
Public Shared Function SerializeObject ( _ value As Object _ ) As String |
| Visual C++ |
|---|
public: static String^ SerializeObject( Object^ value ) |
Parameters
- value
- Type: System..::..Object
The object to serialize.