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 1.9.0

Parameters

str

string

Returns

string