如何预览使用JsonResult的MVC Action的JSON输出?MVC的json输出Action
2
A
回答
0
你可以在一起选择使用JSON Viewer与Fiddler 2
0
你可以使用Firefox + Firebug查看响应
0
我会去Firefox的Firebug的插件,
或者您可以使用TCPMon之类https://tcpmon.dev.java.net/(JAVA)或一个部分“proxiing”工具提供与MS SOAP工具箱http://www.microsoft.com/downloads/details.aspx?FamilyId=C943C0DD-CEEC-4088-9753-86F052EC8450&displaylang=en
0
我使用这个小片的代码来转储JSON对象
function dump(obj) {
var out = '';
for (var i in obj) {
out += i + ": " + obj[i] + "\n";
}
alert(out);
// or, if you wanted to avoid alerts...
var pre = document.createElement('pre');
pre.innerHTML = out;
document.body.appendChild(pre)
}
0
这可能会有帮助。
MVC.ApiExplorer是一个可移植的独立组件,可以帮助您在ASP.NET MVC项目中探索控制器的所有操作。
相关问题
- 1. 更改Json输出ASP.net MVC
- 2. 返回JSON在MVC的Action 3.0
- 3. Telerik MVC Treeview Action
- 4. MVC在json中查看html输出
- 5. 如何在弹簧输出json mvc
- 6. 取决于字面JSON输入JSON数组返回输出JSON Spring MVC中
- 7. MVC Action Link问题
- 8. asp.net mvc and recaptcha action
- 9. .NET MVC Action参数
- 10. MVC 5 HttpErrors + Controller/Action
- 11. DataContract模型绑定到ASP.NET MVC中的JSON Action方法参数
- 12. Facebook的JSON输出
- 13. JSON输出API
- 14. WebApi JSON输出
- 15. Json树输出
- 16. php输出json
- 17. 输出JSON
- 18. CakePHP json输出
- 19. Array_Merge JSON输出
- 20. Twitter json输出
- 21. MVC Action缺少数据
- 22. Url action null object asp.net mvc
- 23. asp.net mvc action result and count question
- 24. MVC Model not binding to HTTPPost action
- 25. Hashtable输出Asp.net MVC
- 26. mvc 2 jsonresult输出
- 27. Spring MVC生成带引号的字段名称json输出
- 28. 从MVC控制器,其输出正确的Json
- 29. 如何格式化来自ASP.NET MVC的JSON输出2
- 30. MVC中的输出缓存
谢谢... IE的任何选项? – femi 2010-08-25 15:11:01