51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

JSON Formatter In Modal

ID: ncdidcnbpdoofpdokhdnmoicmhgicgkl

提供方: cjhsources

版本: 1.1.0

大小: 29.26KB

更新时间: 2023-06-17 19:26:48

支持语言: 英语

简介:

Format JSON in modal dialog with right-click
1.Select the JSON text in the page and right-click to display the formatted JSON in the modal dialog of current page.
2.Support JSON page(image 2).
3.Double-click a curly bracket/square bracket/parenthesis, it will match another bracket and automatically select the content.
4.Right-click the icon in the upper right corner-> Options, enter the configuration page to set a regular expssion, used to replace the selected text before formatting; you can enter multiple replacement operations, separated by "\," will be serially replaced in order(image 3、4).
5.Automatically remove illegal characters outside the first and last brackets of text(image 5).
6.Support to select only one or more key-value pairs.
7.Click the mask layer to close the modal dialog


1.在页面中选中一段JSON文本,然后右键单击在当前页面中弹框(modal-dialog)显示格式化后的内容
2.支持JSON页面(图2)
3.双击一个花/中/圆括号,会匹配另一个括号并自动选中其中的内容
4.右击右上角图标->选项, 进入配置页面设置正则表达式,用于在格式化之前对选中文本进行替换操作;可以输入多个替换操作,以"\,"分隔,会按顺序进行串行替换(图3、4)
5.自动去除文本首尾括号外的不合法字符(图5)
6.支持仅选择一个或多个键值对
7.单击遮罩层可关闭弹框

插件下载:

赞(4)
未经允许不得转载:工具盒子 » JSON Formatter In Modal