JSON Formatter In Modal

#5 / 5 rate

JSON Formatter In Modal

242 users

2020-06-05

cjhsources

Extension Information

5 star
100%
4 star
0%
3 star
0%
2 star
0%
1 star
0%

Supported Languages

Permissions

Description

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 expression, 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.单击遮罩层可关闭弹框