Plugin jQuery: mockJSON : jQuery plugin for mocking JSON and JSONP requests

mockJSON : jQuery plugin for mocking JSON and JSONP requests
http://www.jqueryrain.com/?http://experiments.mennovanslooten.nl/2010/mockjson/tryit.html
http://experiments.mennovanslooten.nl/2010/mockjson/
05/10/2012

Nội dung

mockJSON : jQuery plugin for mocking JSON and JSONP requests

MockJSON is a plugin for jQuery that can hijack JSON and JSONP requests and respond with randomly generated JSON data. Completely random JSON would be pretty useless of course, so you can specify a JSON template for each request. On the right you see an example of such a template and some generated output.


Nguồn: www.jqueryrain.com/2012/10/mockjson-jquery-plugin-for-mocking-json-and-jsonp-requests/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận