Sha256: ff9f520fbf86e34a9fc899bc1da3e457bc8fa00cc0d35177226999f3a073dd2c
Contents?: true
Size: 767 Bytes
Versions: 3
Compression:
Stored size: 767 Bytes
Contents
<!DOCTYPE HTML> <html> <head> <title>JSONEditor | Viewer</title> <link href="../dist/jsoneditor.css" rel="stylesheet" type="text/css"> <script src="../dist/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> 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(container, options, json); </script> </body> </html>
Version data entries
3 entries across 3 versions & 1 rubygems