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.5 - 200.8 |
| .NET | 200.5 - 200.8 |
| .NET Windows | 200.5 - 200.8 |
| .NET Android | 200.5 - 200.8 |
| .NET iOS | 200.5 - 200.8 |
| .NET Framework | 200.5 - 200.8 |
| UWP | 200.5 - 200.8 |