Global object extensions
From Fernseher
Revision as of 16:50, 21 January 2009 by 129.42.161.36 (talk) (New page: A couple functions, I didn't know where to put, but definitely wanted for my Modjs implementation, so they went onto the global object. If I can think of a better place for them, they...)
A couple functions, I didn't know where to put, but definitely wanted for my Modjs implementation, so they went onto the global object. If I can think of a better place for them, they may move. This page can also list all the classes I've added and that are available and whatnot.
Used to convert an object to a JSON compliant string and back again:
string = jsonEncode(object) object = jsonDecode(string)
These could throw exceptions if the object or string cannot be converted or is otherwise malformed:
JsonCodingException