1 | <!DOCTYPE html>
|
2 | <html lang="en" dir="ltr">
|
3 | <head>
|
4 | <meta charset="utf-8">
|
5 | <title>JSONPath Demo</title>
|
6 | <link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon" />
|
7 | <link rel="stylesheet" href="index.css" />
|
8 | </head>
|
9 | <body>
|
10 | <h2>JSONPath Demo <i id="demoNode">(To demo on Node instead, see the <a href="https://npm.runkit.com/jsonpath-plus">library on Runkit</a>.)</i>
|
11 | </h2>
|
12 | <form>
|
13 | <div>
|
14 | <label><b>JSONPath:</b>
|
15 | <input id="jsonpath" placeholder="$.books" />
|
16 | </label>
|
17 | </div>
|
18 | <div id="jsonSampleContainer" class="container">
|
19 | <label><b>JSON sample:</b>
|
20 | <textarea id="jsonSample" placeholder="{"books": []}"></textarea>
|
21 | </label>
|
22 | </div>
|
23 | <div id="resultContainer" class="container">
|
24 | <label><b>Results:</b>
|
25 | <textarea id="results"></textarea>
|
26 | </label>
|
27 | </div>
|
28 | </form>
|
29 | <script src="../dist/index-umd.js"></script>
|
30 | <script src="index.js"></script>
|
31 | </body>
|
32 | </html>
|