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