Sha256: 8e549743d24dd5dd09e0733f856a059cf27a3d7dc98d6c6388a40d9009e49edf

Contents?: true

Size: 955 Bytes

Versions: 1

Compression:

Stored size: 955 Bytes

Contents

<!DOCTYPE HTML>
<html>
<head>
    <link rel="stylesheet" type="text/css" href="../jsoneditor.css">
    <script type="text/javascript" src="../jsoneditor.js"></script>
    <style type="text/css">
        body {
            font: 11pt arial;
        }
        #jsoneditor {
            width: 500px;
        }
    </style>
</head>
<body>
    <p>
        This editor is read-only (mode='viewer').
    </p>
    <div id="jsoneditor"></div>

    <script type="text/javascript" >
        // create the editor
        var container = document.getElementById("jsoneditor");
        var options = {
            mode: "view"
        };
        var json = {
            "array": [1, 2, 3],
            "boolean": true,
            "null": null,
            "number": 123,
            "object": {"a": "b", "c": "d"},
            "string": "Hello World"
        };
        var editor = new jsoneditor.JSONEditor(container, options, json);
    </script>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bee_api-0.0.5 vendor/examples/02_viewer.html