├── .gitignore ├── LICENSE ├── README.md ├── ScreenShot.png ├── index.js ├── package.json └── vendor └── 3.3.0_0 ├── HISTORY.md ├── _metadata ├── computed_hashes.json └── verified_contents.json ├── app.min.css ├── app.min.js ├── chromeapp.js ├── datapolicy.txt ├── doc ├── doc.css ├── img │ ├── actions_menu.png │ ├── button_actions_menu.png │ ├── button_dragarea.png │ ├── code_editor.png │ ├── document_name.png │ ├── main_menu.png │ ├── splitter.png │ └── tree_editor.png └── index.html ├── favicon.ico ├── icon_128.png ├── icon_16.png ├── img ├── header_background.png ├── jsoneditor-icons.png └── logo.png ├── index.html ├── manifest.json └── worker-json.js /.gitignore: -------------------------------------------------------------------------------- 1 | <<<<<<< HEAD 2 | node_modules 3 | ======= 4 | # Logs 5 | logs 6 | *.log 7 | 8 | # Runtime data 9 | pids 10 | *.pid 11 | *.seed 12 | 13 | # Directory for instrumented libs generated by jscoverage/JSCover 14 | lib-cov 15 | 16 | # Coverage directory used by tools like istanbul 17 | coverage 18 | 19 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 20 | .grunt 21 | 22 | # Compiled binary addons (http://nodejs.org/api/addons.html) 23 | build/Release 24 | 25 | # Dependency directory 26 | # Commenting this out is preferred by some people, see 27 | # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git- 28 | node_modules 29 | 30 | # Users Environment Variables 31 | .lock-wscript 32 | >>>>>>> bbf7c729424c588ce0dbc450fb565f72815846e2 33 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 alfred sang 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # je = json editor 2 | 3 | json editor port to npm 4 | 5 | [](http://badge.fury.io/js/je) 6 | 7 | ## Install 8 | 9 | [sudo] npm install -g je 10 | 11 | ## Usage 12 | 13 | in terminal 14 | 15 | ``` 16 | je 17 | ``` 18 | 19 | or 20 | 21 | ``` 22 | je -f xxx.json 23 | je --url http://xxxx 24 | ``` 25 | 26 |  27 | 28 | 29 | ## Contributing 30 | 31 | 1. Fork it 32 | 2. Create your feature branch (`git checkout -b my-new-feature`) 33 | 3. Commit your changes (`git commit -am 'Add some feature'`) 34 | 4. Push to the branch (`git push origin my-new-feature`) 35 | 5. Create new Pull Request 36 | 37 | ## 版本历史 38 | 39 | - v1.0.0 初始化版本cli 40 | 41 | ## 欢迎fork和反馈 42 | 43 | - write by `i5ting` i5ting@126.com 44 | 45 | 如有建议或意见,请在issue提问或邮件 46 | 47 | ## License 48 | 49 | this repo is released under the [MIT 50 | License](http://www.opensource.org/licenses/MIT). 51 | -------------------------------------------------------------------------------- /ScreenShot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/i5ting/je/5a5584cab2fa9d27521e8e5afdbf4aa38260ef37/ScreenShot.png -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var express = require('express') 4 | var path = require('path') 5 | var open = require("open") 6 | 7 | var app = express() 8 | 9 | // 指定静态资源目录 10 | app.use(express.static(path.join(__dirname, 'vendor/3.3.0_0/'))) 11 | 12 | // 启动服务器 13 | app.listen(3024) 14 | 15 | open("http://127.0.0.1:3024") 16 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "je", 3 | "version": "1.0.2", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "start":"npm publish .", 8 | "test": "echo \"Error: no test specified\" && exit 1" 9 | }, 10 | "preferGlobal": "true", 11 | "bin": { 12 | "je": "index.js" 13 | }, 14 | "author": "", 15 | "license": "ISC", 16 | "dependencies": { 17 | "express": "^4.11.2", 18 | "open": "0.0.5" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /vendor/3.3.0_0/HISTORY.md: -------------------------------------------------------------------------------- 1 | # JSON Editor Online - History 2 | 3 | http://jsoneditoronline.org 4 | 5 | ## 2015-01-25, version 3.3.0 6 | 7 | - Updated to `jsoneditor` v3.2.0, containing some bug fixes and some new 8 | shortcut keys. 9 | 10 | 11 | ## 2014-10-12, version 3.2.0 12 | 13 | - Documents can be stored online. 14 | - The stores the last edited document in local storage. 15 | - Before an error is thrown because of invalid text, the editor first tries to 16 | sanitize the text (replace JavaScript notation with JSON notation), and only 17 | after that throws the error. 18 | 19 | 20 | ## 2014-09-03, version 3.1.2 21 | 22 | - Some fixes/improvements in `parseJS` (to parse a JSON object from a JavaScript 23 | object). 24 | - Fixed the lack of a semi colon at end of the bundled files. 25 | 26 | 27 | ## 2014-08-01, version 3.1.1 28 | 29 | - Replaced parsing of JavaScript objects into JSON from `eval` to a dedicated 30 | `parseJS` function. 31 | 32 | 33 | ## 2014-07-28, version 3.1.0 34 | 35 | - JSONEditor now accepts JavaScript objects as input, and can turn them into 36 | valid JSON. For example `{a:2,b:'str'}` can be turned into `{"a":2,"b":"str"}`. 37 | - Implemented an option `editable`, a callback function, which allows to set 38 | individual nodes (their field and/or value) editable or read-only. 39 | - Fixed: shortcut keys to manipulate the nodes are now disabled when mode 40 | is `form` or `view`. 41 | 42 | 43 | ## 2014-05-31, version 3.0.0 44 | 45 | - Large code reorganization. 46 | - Editor must be loaded as `new JSONEditor(...)` instead of 47 | `new jsoneditor.JSONEditor(...)`. 48 | - Css is not automatically loaded anymore when using AMD. 49 | - Web application has been moved to another project. 50 | 51 | 52 | ## 2014-01-03, version 2.3.6 53 | 54 | - Fixed positioning issue of the action menu. 55 | 56 | 57 | ## 2013-12-09, version 2.3.5 58 | 59 | - Fixed a positioning issue of the action menu again. 60 | - Fixed an issue with non-breaking space characters. 61 | 62 | 63 | ## 2013-11-19, version 2.3.4 64 | 65 | - Dropped support for IE8, cleaned up legacy code for old browsers. 66 | - Disabled saving files using HTML5 on Firefox to prevent a Firefox bug 67 | blocking cut/paste functionality in editable divs after using a.download. 68 | 69 | 70 | ## 2013-10-17, version 2.3.3 71 | 72 | - Added support for search (Ctrl+F) in the code editor Ace. 73 | - Fixed a positioning issue of the action menu when in bootstrap modal. 74 | (thanks tsash). 75 | 76 | 77 | ## 2013-09-26, version 2.3.2 78 | 79 | - The web application is now available offline. Thanks ayanamist. 80 | 81 | 82 | ## 2013-09-24, version 2.3.1 83 | 84 | - Fixed non-working action menu when in bootstrap modal (z-index issue). 85 | - Fixed missing main field in package.json. 86 | 87 | 88 | ## 2013-09-13, version 2.3.0 89 | 90 | - Implemented an option `modes`, which creates a menu in the editor 91 | where the user can switch between the selected editor modes. 92 | - Fixed wrong title on fields with value `null`. 93 | - Fixed buggy loading of files in the web application. 94 | 95 | 96 | ## 2013-08-01, version 2.2.2 97 | 98 | - Fixed non working option `indentation`. 99 | - Fixed css not being loaded with AMD in case of multiple scripts. 100 | - Fixed a security error in the server side file retriever script of 101 | the web application. 102 | 103 | 104 | ## 2013-05-27, version 2.2.1 105 | 106 | - Fixed undefined options in TextEditor. Thanks Wiseon3. 107 | - Fixed non-working save function on Firefox 21. Thanks youxiachai. 108 | 109 | 110 | ## 2013-05-04, version 2.2.0 111 | 112 | - Unified JSONFormatter and JSONEditor in one editor with a switchable mode. 113 | - Urls are navigable now. 114 | - Improved error and log handling. 115 | - Added jsoneditor to package managers npm and bower. 116 | 117 | 118 | ## 2013-03-11, version 2.1.1 119 | 120 | - Fixed an issue with console outputs on IE8, causing the editor not to work 121 | at all on IE8. 122 | 123 | 124 | ## 2013-03-08, version 2.1.0 125 | 126 | - Replaced the plain text editor with code editor Ace, which brings in syntax 127 | highlighting and code inspection. 128 | - Improved the splitter between the two panels. Panels can be hided. 129 | 130 | 131 | ## 2013-02-26, version 2.0.2 132 | 133 | - Fixed: dragarea of the root node was wrongly visible is removed now. 134 | 135 | 136 | ## 2013-02-21, version 2.0.1 137 | 138 | - Fixed undefined variable in the redo method. 139 | - Removed the "hide ads" button. Not allowed by Google AdSense, sorry. 140 | 141 | 142 | ## 2013-02-09, version 2.0.0 143 | 144 | - Implemented a context menu, replacing the action buttons on the right side of 145 | the editor and the inline action buttons. This gives a cleaner interface, 146 | more space for the actual contents, and more room for new controls (like 147 | insert and sort). 148 | - Implemented shortcut keys. The JSON Editor can be used with just a keyboard. 149 | - Implemented sort action, which sorts the childs of an array or object. 150 | - Implemented auto scrolling up and down when dragging a node and reaching 151 | the top or bottom of the editor. 152 | - Added support for CommonJS and RequireJS. 153 | - Added more examples. 154 | - Improved performance and memory usage. 155 | - Implemented a new mode 'form', in which only values are editable and the 156 | fields are fixed. 157 | - Minor improvements and bug fixes. 158 | 159 | 160 | ## 2012-12-08, version 1.7.0 161 | 162 | - Implemented two modes: 'editor' (default), and 'viewer'. In viewer mode, 163 | the data and datastructure is read-only. 164 | - Implemented methods set(json, name), setName(name), and getName(), which 165 | allows for setting and getting the field name of the root node. 166 | - Fixed an issue where the search bar does not work when there is no global 167 | window.editor object. 168 | 169 | 170 | ## 2012-11-26, version 1.6.2 171 | 172 | - Fixed a bug in the change callback handler, resulting in an infinite loop 173 | when requesting the contents of the editor inside the callback (issue #19). 174 | 175 | 176 | ## 2012-11-21, version 1.6.1 177 | 178 | - Added a request header "Accept: application/json" when loading files and urls. 179 | 180 | 181 | ## 2012-11-03, version 1.6.0 182 | 183 | - Added feature to the web application to load and save files from disk and url. 184 | - Improved error messages in the web application using JSONLint. 185 | - Made the web application pass the W3C markup validation service. 186 | - Added option 'change' to both editor and formatter, which allows to set a 187 | callback which is triggered when the contents of the editor or formatter 188 | changes. 189 | - Changed the default indentation of the JSONFormatter to 4 spaces. 190 | - Renamed options 'enableSearch' and 'enableHistory' to 'search' and 'history' 191 | respectively. 192 | - Added parameter 'json' to the JSONFormatter constructor. 193 | - Added option 'indentation' to the JSONFormatter. 194 | 195 | 196 | ## 2012-10-08, version 1.5.1 197 | 198 | - Replaced the paid Chrome App with a free, hosted Chrome App (with ads). 199 | 200 | 201 | ## 2012-10-02, version 1.5.0 202 | 203 | - Implemented history: undo/redo all actions. 204 | - Created menu icons (instead of text buttons). 205 | - Cleaned up the code (removed unused params, improved comments, etc). 206 | - Minor performance improvements. 207 | 208 | 209 | ## 2012-08-31, version 1.4.4 210 | 211 | - Changed: description of advertisement now gives information about the Chrome 212 | App (without ads). 213 | - Changed: Chrome App is now configured to be available offline. 214 | - Fixed: When zooming your browser window, the fields/values did get wrapped 215 | on Chrome (thanks Henri Gourvest), and on Firefox sometimes the jsoneditor 216 | disappeared due to wrapping of the interface contents. 217 | 218 | 219 | ## 2012-08-25, version 1.4.3 220 | 221 | - Changed: changed code for the buttons to copy from formatter to editor and 222 | vice versa, no inline javascript (gives security policy errors in chrome app). 223 | 224 | 225 | ## 2012-08-25, version 1.4.2 226 | 227 | - Changed: other bootstrapping mechanism for the chrome app, in a separate 228 | javascript file, as inline javascript is not allowed (security policy). 229 | - Fixed: drop down menu for changing the field type did throw javascript errors 230 | (did not break any functionality though). 231 | 232 | 233 | ## 2012-08-23, version 1.4.1 234 | 235 | - New: Chrome app created. 236 | 237 | 238 | ## 2012-08-23, version 1.4.0 239 | 240 | - New: Improved icon, logo, and interface header. 241 | 242 | 243 | ## 2012-08-19, version 1.3.0 244 | 245 | - New: Added buttons next and previous to the search box in the upper right. 246 | - New: Escape characters are automatically inserted before " and \ missing 247 | and escape character, making the string contents valid JSON. New lines are 248 | automatically replaced with \n. (Thanks Steve Clay) 249 | - Changed: all icons have been put in a single sprite. This will improve page 250 | load times as there are much less server requests needed to load the editor. 251 | 252 | 253 | ## 2012-08-12, version 1.2.0 254 | 255 | - New: Added search functionality. Search results are expanded and highlighed. 256 | Quickkeys in the search box: Enter (next), Shift+Enter (previous), Ctrl+Enter 257 | (search again). 258 | - New: The position of the vertical separator between left and right panel is 259 | stored. 260 | - New: Link to the sourcecode on github added at the bottom of the page. 261 | - Changed: Refinements in the layout: fonts, colors, icons. 262 | - Fixed: leading an trailing spaces not being displayed in the editor. 263 | - Fixed: wrapping of long words and urls in Chrome. 264 | - Fixed: ignoring functions and undefined values in the loaded JSON object 265 | (they where interpreted as empty object and string instead of being ignored). 266 | 267 | 268 | ## 2012-07-01, version 1.1.1 269 | 270 | - Fixed global event listener for the focus/blur events, causing changes in 271 | fields and values not always being registered. 272 | - Fixed a css issue with Firefox (box-sizing of the editor). 273 | 274 | 275 | ## 2012-04-24, version 1.1 276 | 277 | - Fixed a bug. Dragging an object down which has been expanded and collapsed 278 | again did not work. 279 | - Using a minified version of jsoneditor.js, to improve page load time and 280 | save bandwidth. 281 | 282 | 283 | ## 2012-04-21, version 1.0 284 | 285 | - Values are no longer aligned in one global column, but placed directly right 286 | from the field. Having field and value close together improves readability, 287 | especially in case of deeply nested data. 288 | - Values are colorized by their type: strings are green, values read, booleans 289 | blue, and null is purple. 290 | - Font is changed to a monotype font for better readability. 291 | - Special characters like \t are now handled nicely. 292 | - Overall performance and memory usage improved. 293 | - When clicking on whitespace, focus is set to the closest field or value. 294 | - some other small interface tweaks. 295 | - Fixed a bug with casting a value from type auto to string and vice versa 296 | (the value was not casted at all). 297 | 298 | 299 | ## 2012-03-01, version 0.9.10 300 | 301 | - Nicer looking select box for the field types, with icons. 302 | - Improved drag and drop: better visualized, and now working in all browers. 303 | - Previous values will be restored after changing the type of a field. When 304 | changing the type back, the previous value or childs will be restored. 305 | - When hovering buttons (fieldtype, duplicate, delete, add) or when dragging 306 | a field, corresponding field including its childs is highlighted. This makes 307 | it easier to see what part of the data will be edited. 308 | - Errors are now displayed in a message window on top of the page instead of 309 | an alert which pops up. 310 | - Fixed a bug with displaying enters in fields. 311 | - Fixed a bug where the last trailing enter was removed when setting json 312 | in the editor. 313 | - Added a fix to get around Internet Explorer 8 issues with vertical scrollbars. 314 | 315 | 316 | ## 2012-01-29, version 0.9.9 317 | 318 | - Fields can be duplicated 319 | - Support for drag and drop: 320 | - fields in the editor itself can be moved via drag and drop 321 | - fields can be exported from the editor as JSON 322 | - external JSON can be dropped inside the editor 323 | - When changing type from array to object and vice versa, childs will be 324 | maintained instead of removed. 325 | - Updated interface. Works now in IE8 too. 326 | 327 | 328 | ## 2012-01-16, version 0.9.8 329 | 330 | - Improved the performance of expanding a node with all its childs. 331 | 332 | 333 | ## 2012-01-09, version 0.9.7 334 | 335 | - Added functionality to expand/collapse a node and all its childs. Click 336 | the expand button of a node while holding Ctrl down. 337 | - Small interface improvements 338 | 339 | 340 | ## 2011-11-28, version 0.9.6 341 | 342 | - First fully usable version of the JSON editor -------------------------------------------------------------------------------- /vendor/3.3.0_0/_metadata/computed_hashes.json: -------------------------------------------------------------------------------- 1 | {"file_hashes":[{"block_hashes":["PuXzOE6NTgEws5ce7ii7n/fIvNDe+BZbyRScqLHyIbY=","K4MeV3TG9cRvsN0MuauD23QEh3ICiqVAwX2/GAaKZ2U=","XuYnsADQgN/chSfInJBXhps2ms8Sb9RInAfxEJRifcg="],"block_size":4096,"path":"HISTORY.md"},{"block_hashes":["ootjU3gKzbivzPyXGNhYcblYL2/MEO0yBfV24Z71HA0=","/0chzpfPgXF72OCU+JuwGvxwFBg5A1TtytWEdopvYZc=","931f0kFv2Lh1zhex3fy6HM5WfVnbfHG7NI+Wv8pN1SE=","vmR9ZqWTPha0NZI7l4nnmbJeMlslj4A2WQvx3sNUMEs="],"block_size":4096,"path":"app.min.css"},{"block_hashes":["a8FNIohwiQ+Imneaz3aaMgkSnbLSAMANEynwxt7TrDM=","lFn9LK2z5Su7w27vc9/uyrgy9FefuoGG+g3s6ZPmoB0=","Dn9uDc8i3BJshyICqIN7KFFyrTNWfPB/zX6O4MYyM+k=","8Wopufhg00dhh9ruCuCJgqbvRxq0cau7WVd1EQQpN2M=","6tzC91cPvy3HyCeYBcriR4MFw1Yf83Hjr2Oy25fzB9c=","x71VDVaUQ4ckGbQ4XNGiHfEmjJceb2/gDtMlVUacuqA=","i+dND+gtADp3Q5/1QtKNxAYBYbYbiFxdu+rTBgnm1BE=","v8TK2dGU/DJwZM1TTUAwbFRh4IiZv4ngYPBOO20giDI=","t49is3QlTmu35jFlwpo3tgR55BNXdwDYffbVxE8ootw=","dFu7LSK1PfBo4oLS/3tGzYX+B5cdzxiSfHQaVlFdVr0=","3gmKZ6xaVS3q1zGLPMNyCNb6lMTeElwyYXeG/QdKcFM=","6cR1iDCl1Gb75dWuthz42h7FIITiaencTsskDvQsckc=","gWqdkSZFuzrOm3DXOuIPBd7DKC9AMtumsyvnYsHx0wI=","NMALwxUPdG9ERm2kKlrw3JulQeBUiM4NBSfmFScWEEk=","X4LbrXoh6TbRX4fgWSFiV9Yn/6OwyK5rfgCfcEn/OQ4=","wRGPClyVWyWd3dObj2FygCjILLLet5q4yXzwkxolKWo=","ENdu7fTzH3fC2kkUk3RiC3X+nxkErS+HPb+IWrWO4CI=","OEbw5AcJKWoDkO1MNXyYlQdnPmpBQGGg4jVw5QoTRCs=","rVUhl2oUCeY2JYwV08wt1jVSSTpYPnxO7s6kwGQg3K0=","le6Sz3aLIBzdNu11tnK4oTRm1ncd6lNolLQ7TbTKWSk=","PrJ9ptKns5zcOE2HkNR0C+gHvp+cs7RpOpCPchBi8OM=","h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N7nT/W2E=","RD2I5StL7n+UgfNJpAnXxbzUiTVEkOMgTme54fJDiiA=","G8khxqyJsKAnWrckJL2f47KOJYkW0syXNL9sWcteJOI=","ajKIh1XR7Bd/ncqxOUxIMD3odcSaWhsmuL955Vn96bY=","UfOgyr1LfBTesZWjoEEku7Es0VQLf06GORBAywU/kOc=","P1yr/9zM6hPCnivaw4GngISYQiwaXaC/hhiOttADrCg=","R/i+ZHJL1rEsmIFa8n9MP7Tj4ef9KWWxTGSsWarlR64=","3odvoLOGVsINfdNvxaKLzx7RlTuMirSzPL/G1a46GPo=","KM98+zF8G7soF72t2WVzLHpzqs0lu2bvpHJ2N9qiqoU=","m1OelMNh2bswM8UYyKqMvhgorMKFbnJyMqQMASI0bDA=","wipPQgbj82d80MT/Al+7HlQtZWdhmiAT4foG5SY8OjA=","NJZnZXD375VpN8h0dj6Ej+6MPu5EOLZGa87ZIBHuCKo=","KHf146hOesxXnN4vB2JH+XA+3s0FjiyooxO/YLRKUaA=","U9nFkClmb3tc5FK9HOlYSENTMQvkrczRsCSID4dQg68=","Q9yaPsSYv4UhBeWdafEtLxqt81l5aIk4HA9icVSYbeI=","IfZmQ3BWTEFnQbAW8LfiEJYl/GoCMCDSt6iSoZ7ZrqQ=","RGeyq5mXyUbvp8uRXSaZqpfKDZZka+vqhKkDGewLXzc=","iokJyyfE+eONpNaRzCtPJaoVdbp2J7JlxRz9r1KLHoM=","0ZU2AMeN8SLqfYse2SYwhXuSOYcnPFgH/BEr72m4ezQ=","ioFPxqjMsbaZk0q3EMATwI2IYZ9/YecgRSe6lP/2Y0U=","uaJUFdSvcHckXCZaWrBHXJ+06SHe2/2euZ/45HEevZQ=","CxMPxYOoyc1CAc3XN37NIaEzM1yc4/Rpnwvpyo+/p2w=","dAe1SzInN0gi3YRSNFwZIrq2H7Hdgh53mLJSYML/2To=","wqUa0VN2UcaY+rB5IHbcMuO2SQt/zjjdQs0bmkbnbn4=","loVAfhHVhR7uK01L9LgpYos2+OuynRrIuK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xglCqv2W5+AEqwTFDP1vKGrxIw="],"block_size":4096,"path":"app.min.js"},{"block_hashes":["7De6U1UcNzr/zmZSFU5m7KBsZc3QMI+BTaX0IBaoQP8="],"block_size":4096,"path":"chromeapp.js"},{"block_hashes":["nwm3APMIHdF02HpMYHMHSk5XtjB62r+aDbsthpHO0Ac="],"block_size":4096,"path":"datapolicy.txt"},{"block_hashes":["S+qCvzMsdKaFngZ3X9YKgWD2RH0nBrS6vnnsIZJs5Ms="],"block_size":4096,"path":"doc/doc.css"},{"block_hashes":["Wl+C9bnSWS896V4qiSvt462R+7LIK4smmm3Nl21x4aI=","t1wPCBZnYFVaWAwdFiAX4n3FVgZOibHBK18pmIN8ang=","0bxSk/pryywuEkodqzgXcZ8jr3m5LVR3am+gZ/BM1SI=","bvz9nq0jUw+7qBTlWGb6PLgmA6TfHOYK3wxIMCR/3jI="],"block_size":4096,"path":"doc/img/actions_menu.png"},{"block_hashes":["YqyuHA6NbHzzqk9BErunxcvDVBK4Ui//pXGc2dx06Sc="],"block_size":4096,"path":"doc/img/button_actions_menu.png"},{"block_hashes":["D1N0zsOULxZ8q7pKRSekcyqt6WeW3fZVmKk5HaNezwY="],"block_size":4096,"path":"doc/img/button_dragarea.png"},{"block_hashes":["k+MMdwwu15gnczV2EAUKihB/rHd6ijX/XTJYzf+0LoU=","4mzwYIkhbEZIjYRyzJZPrC6iZ3iSV5lDkeOk60ggfJU=","nH6YdqssgW37bDN5QSyozDvKa9OfL28Keq/MrMmJsvI="],"block_size":4096,"path":"doc/img/code_editor.png"},{"block_hashes":["efyZtmQbo4f3FANbxbymDMAdHp9zjiUUtIKuWwN1Yl8=","Ngq87zP9F0Sa9NDUjDL0wqYgpPcrP1OXjDrXZSq+Odo="],"block_size":4096,"path":"doc/img/document_name.png"},{"block_hashes":["BNoR2WMeQH43++Kc52RvPv5clFj/n9YvFdgTq+vkv00="],"block_size":4096,"path":"doc/img/main_menu.png"},{"block_hashes":["Of2PouFbq9Q5A60xltxK5YcBcKYu02v1Tvx5GpQeXSo="],"block_size":4096,"path":"doc/img/splitter.png"},{"block_hashes":["+Dweq7CDWUmZOfvWuhSxu1iJNFj/s9wqtOUIk6rMvbc=","wy6xYAbX5bmo7VOIz7yRDmaEDQ89FoLwP1qIgKMyEdM=","ZGeVI+E/BHIVLVndLueGnbk+pNI6Q2FU1hBgqF/w9nw="],"block_size":4096,"path":"doc/img/tree_editor.png"},{"block_hashes":["f8hkQ4aCO6kGDd4IfxiizvFjrUKv6OwuuvF1wSsqf0M=","gTHB1tvCR9X0aI+WRFKM0JxxyEZO/wO0otrQ7dF297A=","WLL+I3S/JyLKbITQm7JxiMiydmHoFRJuozBdm7xKmm0="],"block_size":4096,"path":"doc/index.html"},{"block_hashes":["m4lUFnkAG6N8Ponyr23eh4UuaGKAHOLILTlheosyo1M="],"block_size":4096,"path":"favicon.ico"},{"block_hashes":["ltO/Pj6iWXd+zAuNMTc6gLoo9FfX6X+G1Y90dwBF3Xw="],"block_size":4096,"path":"img/header_background.png"},{"block_hashes":["CoBDH/tir12aeTAbOFi+ABgiPbbZBypdTonJQbIhTL8=","1Ug5WZuifk/N0yKLj1QjYBJhwVnGlga61av09ZCsUJw=","3itzXdjYPu4IbeAuZYDykCZrG7ZecKwentRU3brK8m0=","LkRAFvtEuuP519uxEIkypvv4vf+nBEfnqHqlTXAfUhc="],"block_size":4096,"path":"img/jsoneditor-icons.png"},{"block_hashes":["wOUQo+jRIBpfo5JHg5oLrg8V81QuiSnfPKH2G/0tSrQ="],"block_size":4096,"path":"img/logo.png"},{"block_hashes":["JIx4DBDTqMJxoZ1TzutPUIPvZqjuKRfTQeOEfRli3Pw=","gRI8fwWOkjruaY8ntjzzDOQjRbm2Q6XQ3cl7n+jCLyo="],"block_size":4096,"path":"index.html"},{"block_hashes":["ENzRCrJYsxajTJsPEr4k3EpAO0Q7MPLQHBb4BI7I4bk=","/xBfM5t+qO0h7TqcNVPwyoyZjJ/tLuZHUvLtUArr/Xg=","V0bH4Vqa8aFCON3Ep8qtf+/73iVhPrraPk4aZNUOmrg=","YRQsvolqK02uPYZnlELTkYojHhhubFe3HiT2ffYWrvs=","1JGS7Q3G5RKkxaS4SlGmL/d3gXlgwmNWkUBKUn+Mrpg=","T6s60rGrAVaW4GytjAQ6hR5yzyEzgVQsxrknhZIM0Qw=","fEpTxtXk2B0NHGlDbpYLSaaBR6c+ljp9PaTwrvJiFu8=","UvMcvVw9DJ7lYY+KKvOCKcX9yGwpc+SrZhMWMmTTRTA="],"block_size":4096,"path":"worker-json.js"}],"version":2} -------------------------------------------------------------------------------- /vendor/3.3.0_0/_metadata/verified_contents.json: -------------------------------------------------------------------------------- 1 | [{"description":"treehash per file","signed_content":{"payload":"eyJjb250ZW50X2hhc2hlcyI6W3siYmxvY2tfc2l6ZSI6NDA5NiwiZGlnZXN0Ijoic2hhMjU2IiwiZmlsZXMiOlt7InBhdGgiOiJISVNUT1JZLm1kIiwicm9vdF9oYXNoIjoicFlwUWlhVXh0Z25WazZTbVZKLXN5c1NaV1NWaTVscDM3QjNKaTczdVFSVSJ9LHsicGF0aCI6ImFwcC5taW4uY3NzIiwicm9vdF9oYXNoIjoieTZjYWZUV1NGRFlDUjc3dWVZUENmd2ZVZjB3bmQtanVaek1MMU5vazktWSJ9LHsicGF0aCI6ImFwcC5taW4uanMiLCJyb290X2hhc2giOiJwSGZzeXR4SndpSHFWU1k1MlEwdEMtcG1qRzFMTWZrTm5XSnZTRTdlalRBIn0seyJwYXRoIjoiY2hyb21lYXBwLmpzIiwicm9vdF9oYXNoIjoiN0RlNlUxVWNOenJfem1aU0ZVNW03S0JzWmMzUU1JLUJUYVgwSUJhb1FQOCJ9LHsicGF0aCI6ImRhdGFwb2xpY3kudHh0Iiwicm9vdF9oYXNoIjoibndtM0FQTUlIZEYwMkhwTVlITUhTazVYdGpCNjJyLWFEYnN0aHBITzBBYyJ9LHsicGF0aCI6ImRvYy9kb2MuY3NzIiwicm9vdF9oYXNoIjoiUy1xQ3Z6TXNkS2FGb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9SQ3FHNWdObWtnIn0seyJwYXRoIjoid29ya2VyLWpzb24uanMiLCJyb290X2hhc2giOiIxU19DdjhOMkRpek0zUTlMYkw3SmZjLTNvTG52Vzl1QWxkZDJfSzBwaFhNIn1dLCJmb3JtYXQiOiJ0cmVlaGFzaCIsImhhc2hfYmxvY2tfc2l6ZSI6NDA5Nn1dLCJpdGVtX2lkIjoibGhrbW9oZW9tamJrZmxvYWNwZ2xsZ2pjYW1oaWhmYWoiLCJpdGVtX3ZlcnNpb24iOiIzLjMuMCIsInByb3RvY29sX3ZlcnNpb24iOjF9","signatures":[{"header":{"kid":"publisher"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"ELbUwsSoQcEw36OHZOOLRyghl69ZIgPHngg8ZfdHshEwdAOiHccps69UC6Djz6r88Zb9Er9YxdkgDRhHkNRSb2YFL-10a7sVRkhxmChSxegLFXb8dgVP8iZyxwtfbyFhKrqvvyZFsDSj_IQtpR_QDGgXy3yk3WbfUCIyCmC9qKs"},{"header":{"kid":"webstore"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"VZ-w_ZRpX5pHCK3ro49b4sbOQ5bHa3S1wtXq8YPI_XZxLk0CwfwLecMUkZLv4FuxrHg_60b4hIBauxlLttNZ9t6EZgz2wvDu29zjRbUPUjToeQ-Tf1ZHks4A0y464inDDimPO0M2eQtNktMmG0GnVmo5bfIrOqvkP5a3MjivC5l9VhxxeQVd7-FWpLzyzWfC_wbz9pq3je9cLB4E5Fjg_JD-NVnBYCNI-XFepf5sq0Z3m2g0tPHp0Bp5VhPJr1KpakWPp7iUyfG9c1XnZEdiD-CYqxFESMUlNHxwMBL0BbHrAL0rAEJYRBcYMUyOd4-LW2UwumD8Hwjyo2UEYaQjnA"}]}}] -------------------------------------------------------------------------------- /vendor/3.3.0_0/app.min.css: -------------------------------------------------------------------------------- 1 | .jsoneditor .field,.jsoneditor .readonly,.jsoneditor .value{border:1px solid transparent;min-height:16px;min-width:32px;padding:2px;margin:1px;word-wrap:break-word;float:left}.jsoneditor .field p,.jsoneditor .value p{margin:0}.jsoneditor .value{word-break:break-word}.jsoneditor .readonly{min-width:16px;color:gray}.jsoneditor .empty{border-color:#d3d3d3;border-style:dashed;border-radius:2px}.jsoneditor .field.empty{background-image:url(img/jsoneditor-icons.png);background-position:0 -144px}.jsoneditor .value.empty{background-image:url(img/jsoneditor-icons.png);background-position:-48px -144px}.jsoneditor .value.url{color:green;text-decoration:underline}.jsoneditor a.value.url:focus,.jsoneditor a.value.url:hover{color:red}.jsoneditor .separator{padding:3px 0;vertical-align:top;color:gray}.jsoneditor .field.highlight,.jsoneditor .field[contenteditable=true]:focus,.jsoneditor .field[contenteditable=true]:hover,.jsoneditor .value.highlight,.jsoneditor .value[contenteditable=true]:focus,.jsoneditor .value[contenteditable=true]:hover{background-color:#FFFFAB;border:1px solid #ff0;border-radius:2px}.jsoneditor .field.highlight-active,.jsoneditor .field.highlight-active:focus,.jsoneditor .field.highlight-active:hover,.jsoneditor .value.highlight-active,.jsoneditor .value.highlight-active:focus,.jsoneditor .value.highlight-active:hover{background-color:#fe0;border:1px solid #ffc700;border-radius:2px}.jsoneditor div.tree button{width:24px;height:24px;padding:0;margin:0;border:none;cursor:pointer;background:url(img/jsoneditor-icons.png)}.jsoneditor div.tree button.collapsed{background-position:0 -48px}.jsoneditor div.tree button.expanded{background-position:0 -72px}.jsoneditor div.tree button.contextmenu{background-position:-48px -72px}.jsoneditor div.tree button.contextmenu.selected,.jsoneditor div.tree button.contextmenu:focus,.jsoneditor div.tree button.contextmenu:hover{background-position:-48px -48px}.jsoneditor div.tree :focus{outline:0}.jsoneditor div.tree button:focus{background-color:#f5f5f5;outline:#e5e5e5 solid 1px}.jsoneditor div.tree button.invisible{visibility:hidden;background:0 0}.jsoneditor{color:#1A1A1A;border:1px solid #97B0F8;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:100%;overflow:auto;position:relative;padding:0;line-height:100%}.jsoneditor div.tree table.tree{border-collapse:collapse;border-spacing:0;width:100%;margin:0}.jsoneditor div.outer{width:100%;height:100%;margin:-35px 0 0;padding:35px 0 0;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.jsoneditor div.tree{width:100%;height:100%;position:relative;overflow:auto}.jsoneditor textarea.text{width:100%;height:100%;margin:0;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;border:none;background-color:#fff;resize:none}.jsoneditor tr.highlight{background-color:#FFFFAB}.jsoneditor div.tree button.dragarea{background:url(img/jsoneditor-icons.png) -72px -72px;cursor:move}.jsoneditor div.tree button.dragarea:focus,.jsoneditor div.tree button.dragarea:hover{background-position:-72px -48px}.jsoneditor td,.jsoneditor th,.jsoneditor tr{padding:0;margin:0}.jsoneditor td,.jsoneditor td.tree{vertical-align:top}.jsoneditor .field,.jsoneditor .value,.jsoneditor td,.jsoneditor textarea,.jsoneditor th{font-family:droid sans mono,monospace,courier new,courier,sans-serif;font-size:10pt;color:#1A1A1A}.jsoneditor-contextmenu{position:absolute;z-index:99999}.jsoneditor-contextmenu ul{position:relative;left:0;top:0;width:124px;background:#fff;border:1px solid #d3d3d3;box-shadow:2px 2px 12px rgba(128,128,128,.3);list-style:none;margin:0;padding:0}.jsoneditor-contextmenu ul li button{padding:0;margin:0;width:124px;height:24px;border:none;cursor:pointer;color:#4d4d4d;background:0 0;line-height:26px;text-align:left}.jsoneditor-contextmenu ul li button::-moz-focus-inner{padding:0;border:0}.jsoneditor-contextmenu ul li button:focus,.jsoneditor-contextmenu ul li button:hover{color:#1a1a1a;background-color:#f5f5f5;outline:0}.jsoneditor-contextmenu ul li button.default{width:92px}.jsoneditor-contextmenu ul li button.expand{float:right;width:32px;height:24px;border-left:1px solid #e5e5e5}.jsoneditor-contextmenu div.icon{float:left;width:24px;height:24px;border:none;padding:0;margin:0;background-image:url(img/jsoneditor-icons.png)}.jsoneditor-contextmenu ul li button div.expand{float:right;width:24px;height:24px;padding:0;margin:0 4px 0 0;background:url(img/jsoneditor-icons.png) 0 -72px;opacity:.4}.jsoneditor-contextmenu ul li button.expand:focus div.expand,.jsoneditor-contextmenu ul li button.expand:hover div.expand,.jsoneditor-contextmenu ul li button:focus div.expand,.jsoneditor-contextmenu ul li button:hover div.expand,.jsoneditor-contextmenu ul li.selected div.expand{opacity:1}.jsoneditor-contextmenu .separator{height:0;border-top:1px solid #e5e5e5;padding-top:5px;margin-top:5px}.jsoneditor-contextmenu button.remove>.icon{background-position:-24px -24px}.jsoneditor-contextmenu button.remove:focus>.icon,.jsoneditor-contextmenu button.remove:hover>.icon{background-position:-24px 0}.jsoneditor-contextmenu button.append>.icon{background-position:0 -24px}.jsoneditor-contextmenu button.append:focus>.icon,.jsoneditor-contextmenu button.append:hover>.icon{background-position:0 0}.jsoneditor-contextmenu button.insert>.icon{background-position:0 -24px}.jsoneditor-contextmenu button.insert:focus>.icon,.jsoneditor-contextmenu button.insert:hover>.icon{background-position:0 0}.jsoneditor-contextmenu button.duplicate>.icon{background-position:-48px -24px}.jsoneditor-contextmenu button.duplicate:focus>.icon,.jsoneditor-contextmenu button.duplicate:hover>.icon{background-position:-48px 0}.jsoneditor-contextmenu button.sort-asc>.icon{background-position:-168px -24px}.jsoneditor-contextmenu button.sort-asc:focus>.icon,.jsoneditor-contextmenu button.sort-asc:hover>.icon{background-position:-168px 0}.jsoneditor-contextmenu button.sort-desc>.icon{background-position:-192px -24px}.jsoneditor-contextmenu button.sort-desc:focus>.icon,.jsoneditor-contextmenu button.sort-desc:hover>.icon{background-position:-192px 0}.jsoneditor-contextmenu ul li .selected{background-color:#D5DDF6}.jsoneditor-contextmenu ul li{overflow:hidden}.jsoneditor-contextmenu ul li ul{display:none;position:relative;left:-10px;top:0;border:none;box-shadow:inset 0 0 10px rgba(128,128,128,.5);padding:0 10px;-webkit-transition:all .3s ease-out;-moz-transition:all .3s ease-out;-o-transition:all .3s ease-out;transition:all .3s ease-out}.jsoneditor-contextmenu ul li ul li button{padding-left:24px}.jsoneditor-contextmenu ul li ul li button:focus,.jsoneditor-contextmenu ul li ul li button:hover{background-color:#f5f5f5}.jsoneditor-contextmenu button.type-string>.icon{background-position:-144px -24px}.jsoneditor-contextmenu button.type-string.selected>.icon,.jsoneditor-contextmenu button.type-string:focus>.icon,.jsoneditor-contextmenu button.type-string:hover>.icon{background-position:-144px 0}.jsoneditor-contextmenu button.type-auto>.icon{background-position:-120px -24px}.jsoneditor-contextmenu button.type-auto.selected>.icon,.jsoneditor-contextmenu button.type-auto:focus>.icon,.jsoneditor-contextmenu button.type-auto:hover>.icon{background-position:-120px 0}.jsoneditor-contextmenu button.type-object>.icon{background-position:-72px -24px}.jsoneditor-contextmenu button.type-object.selected>.icon,.jsoneditor-contextmenu button.type-object:focus>.icon,.jsoneditor-contextmenu button.type-object:hover>.icon{background-position:-72px 0}.jsoneditor-contextmenu button.type-array>.icon{background-position:-96px -24px}.jsoneditor-contextmenu button.type-array.selected>.icon,.jsoneditor-contextmenu button.type-array:focus>.icon,.jsoneditor-contextmenu button.type-array:hover>.icon{background-position:-96px 0}.jsoneditor-contextmenu button.type-modes>.icon{background-image:none;width:6px}.jsoneditor .menu{width:100%;height:35px;padding:2px;margin:0;overflow:hidden;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;color:#1A1A1A;background-color:#D5DDF6;border-bottom:1px solid #97B0F8}.jsoneditor .menu button{width:26px;height:26px;margin:2px;padding:0;border-radius:2px;border:1px solid #aec0f8;background:url(img/jsoneditor-icons.png) #e3eaf6;color:#4D4D4D;opacity:.8;font-family:arial,sans-serif;font-size:10pt;float:left}.jsoneditor .menu button:hover{background-color:#f0f2f5}.jsoneditor .menu button:active,.jsoneditor .menu button:focus{background-color:#fff}.jsoneditor .menu button:disabled{background-color:#e3eaf6}.jsoneditor .menu button.collapse-all{background-position:0 -96px}.jsoneditor .menu button.expand-all{background-position:0 -120px}.jsoneditor .menu button.undo{background-position:-24px -96px}.jsoneditor .menu button.undo:disabled{background-position:-24px -120px}.jsoneditor .menu button.redo{background-position:-48px -96px}.jsoneditor .menu button.redo:disabled{background-position:-48px -120px}.jsoneditor .menu button.compact{background-position:-72px -96px}.jsoneditor .menu button.format{background-position:-72px -120px}.jsoneditor .menu button.modes{background-image:none;width:auto;padding-left:6px;padding-right:6px}.jsoneditor .menu button.separator{margin-left:10px}.jsoneditor .menu a{font-family:arial,sans-serif;font-size:10pt;color:#97B0F8;vertical-align:middle}.jsoneditor .menu a:hover{color:red}.jsoneditor .menu a.poweredBy{font-size:8pt;position:absolute;right:0;top:0;padding:10px}.jsoneditor .search .results,.jsoneditor .search input{font-family:arial,sans-serif;font-size:10pt;background:0 0}.jsoneditor .search{position:absolute;right:2px;top:2px}.jsoneditor .search .frame{border:1px solid #97B0F8;background-color:#fff;padding:0 2px;margin:0}.jsoneditor .search .frame table{border-collapse:collapse}.jsoneditor .search input{width:120px;border:none;outline:0;margin:1px}.jsoneditor .search .results{color:#4d4d4d;padding-right:5px;line-height:24px}.jsoneditor .search button{width:16px;height:24px;padding:0;margin:0;border:none;background:url(img/jsoneditor-icons.png);vertical-align:top}.jsoneditor .search button:hover{background-color:transparent}.jsoneditor .search button.refresh{width:18px;background-position:-99px -73px}.jsoneditor .search button.next{cursor:pointer;background-position:-124px -73px}.jsoneditor .search button.next:hover{background-position:-124px -49px}.jsoneditor .search button.previous{cursor:pointer;background-position:-148px -73px;margin-right:2px}.jsoneditor .search button.previous:hover{background-position:-148px -49px}div.prompt-background,div.prompt-overlay{position:absolute;left:0;top:0;width:100%;height:100%;z-index:999}div.prompt-overlay{background-color:gray;opacity:.2;filter:alpha(opacity=20)}div.prompt-border{width:410px;margin:100px auto;padding:20px;background-color:#fff;border:1px solid gray;border-radius:2px;-moz-box-shadow:2px 2px 12px rgba(128,128,128,.3);-webkit-box-shadow:2px 2px 12px rgba(128,128,128,.3);box-shadow:2px 2px 12px rgba(128,128,128,.3)}div.prompt-title{font-weight:700}div.prompt-description{color:gray;margin:30px 0 0}div.prompt-contents{margin:30px 0}div.prompt-buttons{text-align:right}input.prompt-field[type=file]{width:400px;padding:3px}input.prompt-field[type=text]{width:400px;border:1px solid #d3d3d3;border-radius:2px;padding:3px}input.prompt-cancel,input.prompt-submit{margin-left:10px}body,html{font-family:arial,sans-serif;font-size:11pt;width:100%;height:100%;margin:0;padding:0;overflow:hidden}span.header-light{color:gray}#header{width:100%;height:40px;background:url(img/header_background.png) #4D4D4D;color:#fff}#logo{height:32px;margin:4px 10px;border:none}#name-menu{position:absolute;left:220px;top:7px}#name-menu div{display:inline-block}#name{line-height:24px;color:#fff;padding:0 10px;border:1px solid #737373;border-radius:3px;background:rgba(115,115,115,.5);-moz-box-shadow:inset 0 0 10px #000;-webkit-box-shadow:inset 0 0 10px #000;box-shadow:inset 0 0 10px #000;visibility:hidden}#name-status,#name-status a{color:grey}#name-status a:hover{color:red}#menu{position:absolute;top:5px;right:15px;font-size:11pt}#menu ul{list-style:none;margin:0;padding:0;clear:both}#menu ul li{color:#e6e6e6;background:0 0;border:none;border-right:1px solid #737373;height:30px;padding:0;margin:0;float:left;position:relative;text-decoration:none}#menu ul li:first-child{border-left:1px solid #737373}#menu ul li:hover{color:#fff;background-color:#737373}#menu ul li ul{display:none}#menu ul li:hover>ul{display:block}#menu ul li ul{position:absolute;top:30px;left:0;z-index:999;background:#f5f5f5;border:1px solid #d3d3d3;box-shadow:0 0 15px rgba(128,128,128,.5)}#menu ul li ul li{color:#737373;background:0 0;border:none;margin:0;padding:0}#menu ul li ul li:first-child{border-left:none}#menu ul li ul li:hover{color:#737373;background-color:#fff}#menu a{padding:6px 10px;display:block;cursor:pointer;text-decoration:none;color:#fff}#menu ul li ul li{width:120px}#menu ul li ul li a{color:#737373}#menu ul li #openMenu li{width:160px}#menu ul li ul #filesList{border-top:1px solid #d3d3d3;margin-top:10px;height:auto;max-height:300px;overflow-x:hidden;overflow-y:auto}#menu ul li #openMenu li div.file{position:relative}#menu ul li ul #filesList div.file a{padding:6px 10px}#menu ul li ul #filesList div.file a:hover{color:red;text-decoration:underline}#menu ul li ul #filesList div.file:first-child a{padding-top:16px}#menu ul li ul #filesList div.file:last-child a{padding-bottom:16px}#menu ul li ul #filesList div.file a.open{margin-right:30px}#menu ul li ul #filesList div.file a.remove{display:none;position:absolute;top:0;right:0;height:30px;width:10px;padding:0 10px;line-height:24px;font-size:18px;font-weight:700;text-decoration:none}#menu ul li #openMenu li div.file:hover a.remove{display:block}#menu ul li ul #filesList div.file:first-child a.remove{padding-top:10px}span.dropDownIcon{font-size:75%;margin-left:2px}#menu #open{cursor:default}#auto{width:100%;height:100%;margin:-40px 0 -24px;padding:40px 0 24px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}#contents{width:100%;height:100%;overflow:hidden}#codeEditor,#treeEditor{height:100%;width:400px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#codeEditor{float:left;padding:15px 0 15px 15px}#treeEditor{float:left;padding:15px 15px 15px 0}#splitter{text-align:center;float:left;height:100%;padding:15px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#splitter #buttons{margin:0 0 15px}#splitter #toTree{margin:40px 0 0}#splitter #toCode{margin:20px 0 0}#splitter #drag{font-size:32px;color:#d3d3d3;border-radius:3px;min-width:24px;cursor:col-resize}#splitter #drag.active,#splitter #drag:hover{color:gray;background-color:#f5f5f5}#footer{width:100%;height:23px;font-size:10pt;overflow:hidden;color:#BFBFBF;border-top:1px solid #d3d3d3;text-align:center;background-color:#F5F5F5}#footer-inner{margin:4px}a.header{color:#fff;text-decoration:none}a.footer{color:#BFBFBF;text-decoration:none}a.footer:hover{color:red;text-decoration:underline}#ad{float:right;right:15px;padding:15px 0;position:relative}#chromeAppInfo{line-height:normal;padding:0 5px 20px}div.error,div.notification{border-radius:2px;padding:5px;margin:5px;box-shadow:0 0 15px rgba(128,128,128,.5)}div.error{color:red;background-color:pink;border:1px solid red}div.error a{color:red}div.error a:hover{color:#8b0000}div.notification{color:#1a1a1a;background-color:#FFFFAB;border:1px solid #e6d600}pre.error{margin:0 0 10px;white-space:pre-wrap;font-family:droid sans mono,monospace,courier new,courier,sans-serif;font-size:10pt}a.error{color:red;font-size:8pt}button.convert{cursor:default;padding:2px}div.convert-left,div.convert-right{width:24px;height:24px;margin:0}div.convert-right{background:url(img/jsoneditor-icons.png) 0 -48px}div.convert-left{background:url(img/jsoneditor-icons.png) -24px -48px}.jsoneditor .search input{background:0 0} -------------------------------------------------------------------------------- /vendor/3.3.0_0/chromeapp.js: -------------------------------------------------------------------------------- 1 | /** 2 | * load the chrome application on body load 3 | */ 4 | window.onload = function () { 5 | app.load(); 6 | app.resize(); 7 | 8 | document.getElementById('contents').style.visibility = 'visible'; 9 | }; 10 | 11 | // override ajax, we may need to ask additional permissions from the user 12 | var _fetch = ajax.fetch; 13 | ajax.fetch = function (method, url, body, headers, callback) { 14 | chrome.permissions.request({ 15 | origins: [url] 16 | }, function (granted) { 17 | if (granted) { 18 | _fetch(method, url, body, headers, callback); 19 | } 20 | else { 21 | callback(new Error('No permission granted'), 0); 22 | } 23 | }); 24 | }; 25 | -------------------------------------------------------------------------------- /vendor/3.3.0_0/datapolicy.txt: -------------------------------------------------------------------------------- 1 | # JSON Editor online - Data policy 2 | 3 | http://jsoneditoronline.org 4 | 5 | 6 | This file describes the data policy of JSON Editor Online. To summarize: 7 | 8 | **DO NOT LOAD OR SAVE SENSITIVE DATA USING THE EDITORS OPEN/SAVE FUNCTIONALITY.** 9 | 10 | 11 | ## 1. Opening/saving documents online 12 | 13 | JSON Editor allows storing documents online and sharing them. Online stored 14 | documents are publicly available for everybody with the url, without any form of 15 | authentication or encryption. Online stored documents are not used by JSON 16 | Editor online for any purpose other than serving them to the user. 17 | 18 | Do not store documents containing sensitive data online. 19 | 20 | 21 | ## 2. Opening documents from disk 22 | 23 | If the browser in use supports HTML5 FileReader, documents are directly loaded 24 | from disk into the editor. The documents are not send to the server. 25 | 26 | If HTML5 is not supported, the documents are first uploaded to the server and then 27 | downloaded by the editor. The documents are deleted from the server as soon as 28 | they are downloaded once. If a file is not downloaded for some reason, it will 29 | be deleted from the server after one hour. Documents retrieved via the server 30 | are send unencrypted. 31 | 32 | 33 | ## 3. Saving documents to disk 34 | 35 | If the browser in use supports HTML5 a.download, documents are directly saved 36 | from the browser to disk. The documents are not send to the server. 37 | 38 | If HTML5 is not supported, the documents are first uploaded to the server and then 39 | downloaded to disk. The documents are deleted from the server as soon as they are 40 | downloaded once. If a file is not downloaded for some reason, it will be 41 | deleted from the server after one hour. documents retrieved via the server are send 42 | unencrypted. 43 | 44 | 45 | ## 4. Opening urls 46 | 47 | When opening an url, the editor first tries to open the url directly. If this fails 48 | due to cross-domain restrictions, the url will be retrieved via the server. 49 | The retrieved data is sent directly to the browser and is not stored on the server. 50 | Documents retrieved via the server are send unencrypted. 51 | 52 | 53 | ## 5. Cutting/pasting clipboard data 54 | 55 | When cutting and pasting text in the editor using the system clipboard, no 56 | data is sent via the server. 57 | -------------------------------------------------------------------------------- /vendor/3.3.0_0/doc/doc.css: -------------------------------------------------------------------------------- 1 | body, td, th { 2 | font-family: arial, sans-serif; 3 | font-size: 11pt; 4 | color: #4d4d4d; 5 | } 6 | 7 | body, html { 8 | width: 100%; 9 | height: 100%; 10 | padding: 0; 11 | margin: 0; 12 | } 13 | 14 | #container { 15 | width: 600px; 16 | margin: 0 auto; 17 | padding: 20px 0 60px 0; 18 | } 19 | 20 | h1 { 21 | font-size: 14pt; 22 | color: #4d4d4d; 23 | } 24 | 25 | h2 { 26 | font-size: 14pt; 27 | color: #4183C4; 28 | padding-top: 20px; 29 | } 30 | 31 | h3 { 32 | font-size: 11pt; 33 | color: #4d4d4d; 34 | padding-top: 20px; 35 | } 36 | 37 | table { 38 | border-collapse: collapse; 39 | } 40 | 41 | th { 42 | text-align: left; 43 | background-color: #e5e5e5;; 44 | 45 | } 46 | 47 | td { 48 | vertical-align: top; 49 | } 50 | 51 | th, td { 52 | border: 1px solid #e5e5e5; 53 | padding: 4px 4px; 54 | } 55 | 56 | a { 57 | color: #4183C4; 58 | } 59 | a:hover { 60 | color: red; 61 | } 62 | 63 | img.icon { 64 | vertical-align: middle; 65 | margin: 0 5px; 66 | } -------------------------------------------------------------------------------- /vendor/3.3.0_0/doc/img/actions_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/i5ting/je/5a5584cab2fa9d27521e8e5afdbf4aa38260ef37/vendor/3.3.0_0/doc/img/actions_menu.png -------------------------------------------------------------------------------- /vendor/3.3.0_0/doc/img/button_actions_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/i5ting/je/5a5584cab2fa9d27521e8e5afdbf4aa38260ef37/vendor/3.3.0_0/doc/img/button_actions_menu.png -------------------------------------------------------------------------------- /vendor/3.3.0_0/doc/img/button_dragarea.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/i5ting/je/5a5584cab2fa9d27521e8e5afdbf4aa38260ef37/vendor/3.3.0_0/doc/img/button_dragarea.png -------------------------------------------------------------------------------- /vendor/3.3.0_0/doc/img/code_editor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/i5ting/je/5a5584cab2fa9d27521e8e5afdbf4aa38260ef37/vendor/3.3.0_0/doc/img/code_editor.png -------------------------------------------------------------------------------- /vendor/3.3.0_0/doc/img/document_name.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/i5ting/je/5a5584cab2fa9d27521e8e5afdbf4aa38260ef37/vendor/3.3.0_0/doc/img/document_name.png -------------------------------------------------------------------------------- /vendor/3.3.0_0/doc/img/main_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/i5ting/je/5a5584cab2fa9d27521e8e5afdbf4aa38260ef37/vendor/3.3.0_0/doc/img/main_menu.png -------------------------------------------------------------------------------- /vendor/3.3.0_0/doc/img/splitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/i5ting/je/5a5584cab2fa9d27521e8e5afdbf4aa38260ef37/vendor/3.3.0_0/doc/img/splitter.png -------------------------------------------------------------------------------- /vendor/3.3.0_0/doc/img/tree_editor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/i5ting/je/5a5584cab2fa9d27521e8e5afdbf4aa38260ef37/vendor/3.3.0_0/doc/img/tree_editor.png -------------------------------------------------------------------------------- /vendor/3.3.0_0/doc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |14 | JSON Editor Online is a web-based tool to view, edit, and format JSON. 15 | It shows your data side by side in a clear, editable treeview and in 16 | a code editor. 17 |
18 |19 | Supported browsers: Chrome, Firefox, Safari, Opera, Internet Explorer 8+. 20 |
21 |22 | Website: 23 | http://jsoneditoronline.org. 24 |
25 |26 | Contents: 27 |
28 |38 | The applications main menu contains options to clear, load and save the 39 | JSON contents of the application. Files can be loaded from disk, url, or online, 40 | and can be saved online or to disk. Please note that due to security restrictions, 41 | the application can only open files from public websites, not from an 42 | intranet. The data policy is described 43 | here. 44 |
45 |50 | Documents can be saved online by clicking menu Save, save online. 51 | Online saved documents can be loaded (and shared with others) via their url. 52 | This url looks like: 53 |
54 | 55 |56 | To open a saved document, go to menu Open. This menu contains a list with all saved documents. Documents can be deleted here too by clicking the cross right of the document name. Note that the list with documents is stored in the browsers local storage. When reinstalling your browser or clearing all browser data, this list will be gone. 57 |
58 | 59 |60 | http://jsoneditoronline.org/?id=1aad4e2234c17c7f243c1faf4f5d3363 61 |
62 | 63 |64 | Online saved documents have a name, which is displayed in the top left of the application. The name can be changed by clicking it, this will open a dialog where a new name can be entered. 65 |
66 |
71 | To automatically load a JSON document when opening the JSON Editor,
72 | the query parameters id
, url
, and json
can be used:
73 |
77 | To load an online stored document via it's id, add a query parameter named id
to the url, having the documents id as value:
78 |
83 | To load a JSON document from a query parameter, add a query parameter named json
with the JSON document as value:
84 |
86 | http://jsoneditoronline.org/?json={%22name%22:%22John%22,%22age%22:32}
87 |
89 | Note that the document must be url-encoded. Furthermore, the total length of an url is limited (a safe maximum is 2048 characters), so it's not possible to store large documents in a query parameter. 90 |
91 |
94 | To load a JSON document from an url, add a query parameter named url
with the url of the document to be loaded as value:
95 |
97 | http://jsoneditoronline.org/?url=http://jsoneditoronline.org/test/example.json 98 |
99 |100 | Note that the JSON document must be publicly available. 101 |
102 |107 | The application contains two panels: a code editor on the left, 108 | and a Tree Editor on the right. 109 |
110 |111 | There is a splitter between the two panels, allowing to change the 112 | width of both panels according to ones needs. 113 | To copy the contents from one panel to an other, the two copy buttons 114 | between the panels can be used. 115 |
116 |120 | The code editor displays JSON data in a code editor. 121 | The editor is capable of formatting, compacting, and inspecting JSON. 122 |
123 |125 | The menu of the code editor contains the following buttons: 126 |
127 |142 | The Tree editor displays the JSON data in an editable tree. 143 | The editor makes it easy to create, duplicate, remove fields, 144 | and to edit the contents of the fields. 145 |
146 |148 | The menu of the tree editor contains the following functions: 149 |
150 |
173 | The field values in the editor are editable input fields.
174 | The fields can be dragged up and down using the dragarea
175 |
176 | on the left side of the fields. When a field is the last item of the
177 | childs of an array or object, the field can also be dragged horizontally
178 | to move it in or out of the array or object.
179 |
182 | Right from the dragarea is a button
183 |
184 | to open the actions menu.
185 | Depending on the type of field, the following functionality is
186 | available in the actions menu:
187 |
232 | The tree editor supports shortcut keys for all available actions. 233 | The editor can be used by just a keyboard. 234 | The following short cut keys are available: 235 |
236 | 237 |Key | Description |
---|---|
Alt+Arrows | Move the caret up/down/left/right between fields |
Shift+Alt+Arrows | Move field up/down/left/right |
Ctrl+D | Duplicate field |
Ctrl+Del | Remove field |
Ctrl+Enter | Open link when on a field containing an url |
Ctrl+Ins | Insert a new field with type auto |
Ctrl+Shift+Ins | Append a new field with type auto |
Ctrl+E | Expand or collapse field |
Alt+End | Move the caret to the last field |
Ctrl+F | Find |
F3, Ctrl+G | Find next |
Shift+F3, Ctrl+Shift+G | Find previous |
Alt+Home | Move the caret to the first field |
Ctrl+M | Show actions menu |
Ctrl+Z | Undo last action |
Ctrl+Shift+Z | Redo |
262 | The code editor is powered by Ace Editor. 263 | This editor's shortcut keys are described here: 264 |
265 |266 | https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts 268 |
269 |270 | Additionally, there are shortcut keys to format/compact the code: 271 |
272 |Key | Description |
---|---|
Ctrl+\ | Format JSON data, set proper indentation |
Ctrl+Shift+\ | Compact JSON data, remove all whitespace |