
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
json-viewer-js
Advanced tools
One pretty json viewer by javascript
Home page: json-viewer-js
import JsonViewer from './jsonViewer';
const testJson = `{
"example1": [
{
"name": "test01",
"age": 18,
"gender": 0,
"student": true,
"children": null
},
{
"name": "test02",
"age": 19,
"gender": 1,
"student": true,
"children": null
}
],
"example2": {
"friuts": ["apple", "grape", "jujube", "pear"],
"transport": ["taxi", "bus", "metro", "plane", "train"]
}
}`
new JsonViewer({
container: document.body,
data: testJson,
theme: 'light',
expand: false
});
Light theme
Dark theme
Name | Type | Desc | Default | Required |
---|---|---|---|---|
container | DOM Object | DOM element | null | true |
data | String | Json data for render | '{}' | true |
theme | String | Config for different theme(light or dark) | light | false |
expand | Boolean | Config for if expand when loaded | false | false |
If you like it, please give me a star, thanks!
Powered for: My JSON Editor
FAQs
One pretty json viewer by javascript
We found that json-viewer-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.