Quote a string for use in a JSON document. Ths method adds quotes around the result.

Always prefers the shortest valid encoding.

Location

Namespace
Uno.Data.Json
Package
Uno.Data.Json 2.9.2

Parameters

str

string

Returns

string