json-tree-view
Version:
A JSON Tree View Component, for browsering or editing JSON object. Fork from json-view writing by Richard Livingston.
42 lines • 961 B
HTML
<html lang="en">
<head>
<meta charset="UTF-8">
<title>JSONView Example</title>
<link rel="stylesheet" href="devtools.css">
<style>
ul { user-select:none; }
</style>
<script src="index.js" defer></script>
</head>
<body>
<h3>Options</h3>
<ul>
<li>
<label for="filter">Filter: </label>
<input type="text" id="filter" />
</li>
<li>
<input type="checkbox" id="root" />
<label for="root">Always show root</label>
</li>
<li>
<input type="checkbox" id="rowf" />
<label for="rowf">Automatically set to readonly when filtering</label>
</li>
<li>
<input type="checkbox" id="ro" />
<label for="ro">Readonly</label>
</li>
<li>
<input type="checkbox" id="sc" checked />
<label for="sc">Show count of Object or Array</label>
</li>
<li>
<input type="checkbox" id="wr" checked />
<label for="wr">With root name</label>
</li>
</ul>
<h3>JSON</h3>
</body>
</html>