Escape a string for use in a JSON document. This method does not add quotes around the result.

Always prefers the shortest valid encoding.

Location

Namespace
Uno.Data.Json
Package
Uno.Data.Json 1.11.1

Parameters

str

string

Returns

string