当前位置:网站首页>Your appearance is amazing! Two JSON visualization tools are recommended for use with swagger. It's really fragrant
Your appearance is amazing! Two JSON visualization tools are recommended for use with swagger. It's really fragrant
2022-07-27 10:34:00 【InfoQ】
Chat Swagger
- When we use Swagger Submit POST request , Input JSON When requesting parameters , It doesn't support JSON format checks , Formatting is not supported , It's very inconvenient to use ;

- When we use Swagger Acquired JSON When the data is long ,Swagger Folding data is not supported , Sometimes we can only copy the data to other tools to view , For example, find an online JSON Parsing tool .

- For the above two Swagger Use pain points , Use JsonHero and JsonVisio All can be solved , And they are more distinctive JSON Visualization tools .
JsonHero
brief introduction

install
- JsonHero It's a front-end project , Downloading and installing is still very simple , First download its installation package , Download address :https://github.com/jsonhero-io/jsonhero-web

- After downloading, extract to the specified directory , Create in the root directory .env file , The contents of the document are as follows ;
SESSION_SECRET=abc123
- Then use the following command to install the dependency and start , It needs to be installed before use node.js Environmental Science ;
npm install
npm start
- After successful startup, the console will display the following information ;

- You can use JsonHero To visualize JSON Data. , Access address :http://localhost:8787

Use
- JsonHero Is very simple to use , Put... Directly JSON Data or acquisition JSON Of URL Copy to input box , And then click Go button ;

- We can Swagger The length obtained in JSON Copy the data , Through the column view, we can go deep into JSON data ;

- When we select a JSON Object time , The... Will be displayed directly on the right JSON Object's data ;

- adopt JSON View we can view the formatted JSON data , Also select a JSON Object time , The... Will be displayed directly on the right JSON Object's data ;

- The tree view allows you to JSON Collapse the data , Data can be viewed more easily ;

- We can also use the search function , Yes JSON Global search for data ;

- JsonHero It also supports previewing data in different formats , Such as the picture 、 Time 、 date 、 Website and other data .

JsonVisio
brief introduction

install
- First we need to download JsonVisio Installation package , Pay attention to download 1.6.0 edition , Download address :https://github.com/AykutSarac/jsonvisio.com/releases

- After downloading successfully, unzip it to the specified directory , And then use npm Command to install and start ;
npm install
npm run dev
- After successful startup, the console will output the following information ;

- Next we can visit JsonVisio The page , Click on Start Generating Start using JSON Editor , Access address :http://localhost:3000

Use
- Put what we need in Swagger Copy the request parameters edited in ,JsonVisio Can support editing 、 format 、 Operations such as emptying and saving ;

- When our JSON Error in format , Will give a hint ;

- It can also support according to JSON Format to generate a tree view .

summary
Project address
- JsonHero:https://github.com/jsonhero-io/jsonhero-web
- JsonVisio:https://github.com/AykutSarac/jsonvisio.com
边栏推荐
- Eslint's error message module error (from./node_modules/ [email protected] @Eslint loader / index. JS)
- Ant advanced -path and fileset
- 线代004
- Matlab的不同进制转换
- Sorting out some open source projects of speech recognition
- 【英雄哥六月集训】第 28天: 动态规划
- How to turn off the application of computer self startup
- Matlab draws the system response under different damping
- Different binary conversion of MATLAB
- Solve oracle-ora-01122 01110 01210
猜你喜欢

Share machine learning notes (PDF version) + practical projects (dataset + code)

【Flutter】SharedPreferences使用

数据类型与变量

Pygame: alien invasion

ctf (hardrce)
[email protected] @Eslint loader / index. JS) "/>Eslint's error message module error (from./node_modules/ [email protected] @Eslint loader / index. JS)

游戏玩家问题

gyp ERR! configure error. gyp ERR! stack Error: gyp failed with exit code: 1

Failure of CUDA installation nsight visual studio edition failed

Redis数据结构分析(二)
随机推荐
Ant advanced -path and fileset
Metaspolit
【Liunx】安装MySQL
Word2vec principle and application and article similarity (recommended system method)
Ant advanced task
语音识别的一些开源项目整理
Based on LSM tree idea Net 6.0 C # write a kV database (case version)
Voice data acquisition - real time voice data visualization
家庭琐事问题
Introduction to Matlab real time editor
Eslint的报错信息Module Error (from ./node_modules/[email protected]@eslint-loader/index.js)解决方法
Matlab- draw superimposed ladder diagram and line diagram
JSP自定义标签之自定义分页01
Preparation for Android interview (including the whole process of interview, interview preparation, interview questions and materials, etc.)
Robotframework+eclispe environment installation
Xiandai 003
Understanding and code implementation of Se (sequence and exception) module
ctf (hardrce)
Oracle view hard parsing
SQL injection