Request.JSON
Request is the basic XHR request class in MooTools. While not extremely useful on its own, it provides the basic functionality for both Request.HTML and Request.JSON.
Use a JSON request when you have complex data which you would like to send in a
JavaScript-readable format to a handling method on the client side. The first
method passed to a Request.JSON onComplete method is the data object represented
in the JSON code which was returned by the server. For more information on the
JSON format, see json.org.
load JSON Data |
clear JSON Data
Documentation References: