toJSON :: String

toJSON() -> String

 

Returns a JSON string.

 

'The "Quoted" chronicles'.toJSON();

//-> '"The \"Quoted\" chronicles"'

 

See also

 

evalJSON


Prototype API 1.5.0 - prototypejs.org