jsoneditor/app/web/test.html

218 lines
8.8 KiB
HTML
Raw Normal View History

2012-04-21 19:28:28 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
2012-04-21 19:28:28 +08:00
2012-08-21 03:52:36 +08:00
<title>JSON Editor Online - view, edit and format JSON online</title>
2012-04-21 19:28:28 +08:00
<!--
2012-04-21 19:28:28 +08:00
@file index_no_ads.html
2012-04-21 19:28:28 +08:00
@brief
2012-08-21 03:52:36 +08:00
JSON Editor Online is a web-based tool to view, edit, and format JSON.
It shows your data side by side in a clear, editable treeview and in
formatted plain text.
Supported browsers: Chrome, Firefox, Safari, Opera, Internet Explorer 8+
2012-04-21 19:28:28 +08:00
@license
This json editor is open sourced with the intention to use the editor as
a component in your own application. Not to just copy and monetize the editor
as it is.
2012-04-21 19:28:28 +08:00
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy
of the License at
2012-04-21 19:28:28 +08:00
http://www.apache.org/licenses/LICENSE-2.0
2012-04-21 19:28:28 +08:00
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.
2012-04-21 19:28:28 +08:00
Copyright (C) 2011-2013 Jos de Jong, http://jsoneditoronline.org
2012-04-21 19:28:28 +08:00
@author Jos de Jong, <wjosdejong@gmail.com>
2013-02-09 23:08:33 +08:00
@date 2013-02-09
-->
2012-07-19 04:39:48 +08:00
2012-08-21 03:52:36 +08:00
<meta name="description" content="JSON Editor Online is a web-based tool to view, edit, and format JSON. It shows your data side by side in a clear, editable treeview and in formatted plain text.">
<meta name="keywords" content="json, editor, formatter, online, format, parser, json editor, json editor online, online json editor, javascript, javascript object notation, tools, tool, json tools, treeview, open source, free, json parser, json parser online, json formatter, json formatter online, online json formatter, online json parser, format json online">
2012-07-19 04:39:48 +08:00
<meta name="author" content="Jos de Jong">
<link rel="shortcut icon" href="favicon.ico">
2012-07-19 04:39:48 +08:00
<link href="app.css" rel="stylesheet" type="text/css">
<link href="fileretriever.css" rel="stylesheet" type="text/css">
<link href="../../jsoneditor/css/jsoneditor.css" rel="stylesheet" type="text/css">
<link href="../../jsoneditor/css/menu.css" rel="stylesheet" type="text/css">
<link href="../../jsoneditor/css/searchbox.css" rel="stylesheet" type="text/css">
<link href="../../jsoneditor/css/contextmenu.css" rel="stylesheet" type="text/css">
2012-07-19 04:39:48 +08:00
<!-- TODO: droid font
<link href='http://fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'>
-->
<script type="text/javascript" src="../../jsoneditor/js/jsoneditor.js"></script>
<script type="text/javascript" src="../../jsoneditor/js/jsonformatter.js"></script>
<script type="text/javascript" src="../../jsoneditor/js/node.js"></script>
<script type="text/javascript" src="../../jsoneditor/js/appendnode.js"></script>
<script type="text/javascript" src="../../jsoneditor/js/contextmenu.js"></script>
<script type="text/javascript" src="../../jsoneditor/js/history.js"></script>
<script type="text/javascript" src="../../jsoneditor/js/searchbox.js"></script>
<script type="text/javascript" src="../../jsoneditor/js/highlighter.js"></script>
<script type="text/javascript" src="../../jsoneditor/js/util.js"></script>
<script type="text/javascript" src="queryparams.js"></script>
<script type="text/javascript" src="ajax.js"></script>
<script type="text/javascript" src="fileretriever.js"></script>
<script type="text/javascript" src="notify.js"></script>
<script type="text/javascript" src="splitter.js"></script>
<script type="text/javascript" src="app.js"></script>
<script type="text/javascript" src="lib/jsonlint/jsonlint.js"></script>
<style type="text/css">
div.convert-right {
background: url('../../jsoneditor/css/img/jsoneditor-icons.png') -0 -48px;
}
div.convert-left {
background: url('../../jsoneditor/css/img/jsoneditor-icons.png') -24px -48px;
}
</style>
2012-04-21 19:28:28 +08:00
</head>
<body>
2012-07-19 04:39:48 +08:00
<div id="header" >
<a href="http://jsoneditoronline.org" class="header">
<img alt="JSON Editor Online" title="JSON Editor Online" src="img/logo.png" id="logo">
2012-04-21 19:28:28 +08:00
</a>
<div id="menu">
<ul>
<li>
<a id="clear" title="Clear contents">Clear</a>
</li>
<li>
<a id="open" title="Open file from disk">
Open
<span id="openMenuButton" title="Open file from disk or url">
&#x25BC;
</span>
</a>
<ul id="openMenu">
<li>
<a id="menuOpenFile" title="Open file from disk">Open&nbsp;file</a>
</li>
<li>
<a id="menuOpenUrl" title="Open file from url">Open&nbsp;url</a>
</li>
</ul>
</li>
<li>
<a id="save" title="Save file to disk">Save</a>
</li>
<li>
<a id="help" title="Open documentation (opens in a new window)" href="doc/index.html" target="_blank">Help</a>
</li>
</ul>
</div>
2012-07-19 04:39:48 +08:00
<!-- TODO: info, links, faq -->
<!--
2012-04-21 19:28:28 +08:00
<div class="info" style="display:none;">
2012-07-19 04:39:48 +08:00
JSON, or JavaScript Object Notation, is a lightweight text-based open standard
designed for human-readable data interchange. It is derived from the JavaScript
scripting language for representing simple data structures and associative arrays,
2012-04-21 19:28:28 +08:00
called objects. Despite its relationship to JavaScript, it is language-independent,
with parsers available for most languages.
2012-07-19 04:39:48 +08:00
The JSON format was originally specified by Douglas Crockford, and is described
in RFC 4627. The official Internet media type for JSON is application/json.
2012-04-21 19:28:28 +08:00
The JSON filename extension is .json.
2012-07-19 04:39:48 +08:00
The JSON format is often used for serializing and transmitting structured data
over a network connection. It is used primarily to transmit data between a server
2012-04-21 19:28:28 +08:00
and web application, serving as an alternative to XML.
<br><br>
From <a target="_blank" href="http://en.wikipedia.org/wiki/Json">Wikipedia</a>
</div>
<div class="links" style="display:none;">
<a target="_blank" href="http://json.org/">http://json.org/</a><br>
<a target="_blank" href="http://en.wikipedia.org/wiki/Json">http://en.wikipedia.org/wiki/Json</a><br>
</div>
<div class="faq" style="display:none;"></div>
-->
</div>
<div id="auto">
2012-07-19 04:39:48 +08:00
<div id="contents">
<div id="jsonformatter"></div>
<div id="splitter"></div>
<div id="jsoneditor"></div>
<script type="text/javascript">
app.load();
app.resize();
2012-07-19 04:39:48 +08:00
</script>
<div id="ad" title="advertisement" >
<div id="adInfo">
ADVERTISEMENT<br>
<a class="adInfo" href="javascript: app.hideAds();">hide for now</a><br>
<div id="chromeAppInfo" style='display: none;'>
<br>If you want to get rid of the ads,
you can buy the Chrome App.
This will give you the JSON Editor without ads,
offline available, always up to date, and just one click away.<br>
<a class="adInfo"
href="https://chrome.google.com/webstore/detail/gckckcmcgknlbcmnpgijfmpppiplijgn"
target="_blank">Click here for more info</a>
</div>
2012-07-19 04:39:48 +08:00
</div>
2012-07-19 04:39:48 +08:00
<div class="adSpace"></div>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-7938810169574141";
/* jsoneditoronline_160x600 */
google_ad_slot = "4671869937";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<!--
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
-->
</div>
</div>
2012-04-21 19:28:28 +08:00
</div>
<div id="footer">
2012-07-19 04:39:48 +08:00
<div id="footer-inner">
<a href="http://jsoneditoronline.org" class="footer">JSON Editor Online 2.0.0</a>
2012-07-19 04:39:48 +08:00
&bull;
2013-02-09 23:53:37 +08:00
<a href="../../changelog.md" target="_blank" class="footer">Changelog</a>
2012-07-19 04:39:48 +08:00
&bull;
<a href="https://github.com/josdejong/jsoneditoronline" target="_blank" class="footer">Sourcecode</a>
2012-07-19 04:39:48 +08:00
&bull;
<a href="datapolicy.txt" target="_blank" class="footer">Data policy</a>
&bull;
<a href="../../NOTICE" target="_blank" class="footer">Copyright 2011-2013 Jos de Jong</a>
2012-07-19 04:39:48 +08:00
</div>
2012-04-21 19:28:28 +08:00
</div>
<script type="text/javascript">
app.resize();
2012-04-21 19:28:28 +08:00
</script>
</body>
</html>