 | JsonConvertToString Method (String, Char, StringEscapeHandling) |
Converts the
String to its JSON string representation.
Namespace:
Newtonsoft.Json
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntaxpublic static string ToString(
string value,
char delimiter,
StringEscapeHandling stringEscapeHandling
)
Parameters
- value
- Type: SystemString
The value to convert. - delimiter
- Type: SystemChar
The string delimiter character. - stringEscapeHandling
- Type: Newtonsoft.JsonStringEscapeHandling
The string escape handling.
Return Value
Type:
StringA JSON string representation of the
String.
See Also