Escapes string for JSON. Converts characters that have special meaning in JSON string literals (such as double quotes, backslashes, and control characters) into their JSON escape sequences so the string can be safely embedded in a JSON value.
- Label: Source string
- Description: The input string to escape for safe embedding in a JSON string value.
- Required: Yes
- Default: None
- Constraints: None
Returns a STRING containing the JSON-escaped value.
Throws BotCommandException on invalid input or internal failure.
