Method ToJson
ToJson()
Convert an object to JSON string.
Declaration
public string ToJson()Returns
| Type | Description | 
|---|---|
| System.String | A System.String which is the JSON string. | 
Applies to
Platforms and versions
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 200.8 | 
| .NET | 200.8 | 
| .NET Windows | 200.8 | 
| .NET Android | 200.8 | 
| .NET iOS | 200.8 | 
| .NET Framework | 200.8 | 
| UWP | 200.8 |