toJSON
1.5.1

toJSON() -> String

Returns a JSON string.

Example


'The "Quoted" chronicles'.toJSON();
//-> '"The \"Quoted\" chronicles"'