The JavascriptFormatter type exposes the following members.
Methods
Name | Description | |
---|---|---|
EncodeString |
Encodes a string to be represented as a string literal. The format is essentially a JSON string.
|
|
EncodeStringQuoted |
Encodes a string to be represented as a string literal. The format is essentially a JSON string.
The string returned includes outer quotes.
|