在Google Chrome DevTools中搜索JSON对象 [英] Searching inside a JSON object in Google Chrome DevTools

查看:189
本文介绍了在Google Chrome DevTools中搜索JSON对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我喜欢Google Chrome的DevTools。但是,调试时有时需要在JSON请求/响应对象中搜索特定的属性或值(在网络选项卡中的请求/响应中)。如果JSON对象很大,这可能是乏味的。 DevTools是否支持这样的搜索?



在下面的示例中,我希望搜索new_user将突出显示所显示的JSON对象中的属性。 >





更新:由于此问题已被询问,此功能已添加到Chrome!

解决方案

没有现有的功能来搜索json树视图。您可以在问题跟踪器中提出新问题,以查看是否可以添加。


I love Google Chrome's DevTools. But, when debugging I sometimes need to search for a particular property or value in a JSON request/response object (within a request/response in the "Network" tab). This can be tedious if the JSON object is large. Do the DevTools support such a search?

In the example below, I was hoping that searching for "new_user" would highlight the property in the JSON object shown.


UPDATE: Since this question was asked, this functionality has been added to Chrome!

解决方案

No existing functionality to search the json tree view. You can file a new issue in the issue tracker to see if it could get added.

这篇关于在Google Chrome DevTools中搜索JSON对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆