<commit_before># JSON Editor Online
http://jsoneditoronline.org/


### Description

JSON Editor Online is a web-based tool to view, edit, and format JSON.
It has various modes such as a tree editor, a code editor, and a plain text
editor.

The editor can be used as a component in your own web application. The library
can be loaded as CommonJS module, AMD module, or as a regular javascript file.

### Screenshot

The web application shows two panels side by side: a code editor on the left,
and a tree editor on the right. Files and urls can be loaded via the main menu.

<a href="http://jsoneditoronline.org">
    <img alt="jsoneditor"
        src="https://raw.github.com/josdejong/jsoneditor/master/misc/screenshots/jsoneditoronline.png">
</a>


### Features

#### Tree editor
- Edit, add, move, remove, and duplicate fields and values.
- Change type of values.
- Sort arrays and objects.
- Colorized code.
- Search & highlight text in the treeview.
- Undo and redo all actions.

#### Code editor
- Format and compact JSON.
- Colorized code (powered by Ace).
- Inspect JSON (powered by Ace).

#### Text editor
- Format and compact JSON.


### Documentation

- [Docs](https://github.com/josdejong/jsoneditor/tree/master/docs)
- [Examples](https://github.com/josdejong/jsoneditor/tree/master/examples)
- [Source](https://github.com/josdejong/jsoneditor)
- [History](https://github.com/josdejong/jsoneditor/blob/master/HISTORY.md)


### Install

with npm:

    npm install jsoneditor

with bower:

    npm install bower

download:

[http://jsoneditoronline.org/downloads/](http://jsoneditoronline.org/downloads/)


### Use

```html<commit_msg>Fixed a typo in the readme<commit_after># JSON Editor Online
http://jsoneditoronline.org/


### Description

JSON Editor Online is a web-based tool to view, edit, and format JSON.
It has various modes such as a tree editor, a code editor, and a plain text
editor.

The editor can be used as a component in your own web application. The library
can be loaded as CommonJS module, AMD module, or as a regular javascript file.

### Screenshot

The web application shows two panels side by side: a code editor on the left,
and a tree editor on the right. Files and urls can be loaded via the main menu.

<a href="http://jsoneditoronline.org">
    <img alt="jsoneditor"
        src="https://raw.github.com/josdejong/jsoneditor/master/misc/screenshots/jsoneditoronline.png">
</a>


### Features

#### Tree editor
- Edit, add, move, remove, and duplicate fields and values.
- Change type of values.
- Sort arrays and objects.
- Colorized code.
- Search & highlight text in the treeview.
- Undo and redo all actions.

#### Code editor
- Format and compact JSON.
- Colorized code (powered by Ace).
- Inspect JSON (powered by Ace).

#### Text editor
- Format and compact JSON.


### Documentation

- [Docs](https://github.com/josdejong/jsoneditor/tree/master/docs)
- [Examples](https://github.com/josdejong/jsoneditor/tree/master/examples)
- [Source](https://github.com/josdejong/jsoneditor)
- [History](https://github.com/josdejong/jsoneditor/blob/master/HISTORY.md)


### Install

with npm:

    npm install jsoneditor

with bower:

    bower install jsoneditor

download:

[http://jsoneditoronline.org/downloads/](http://jsoneditoronline.org/downloads/)


### Use

```html
{'fraction_non_alphanumeric': 0.1154776299879081, 'fraction_numerical': 0.0, 'mean_word_length': 3.8519061583577714, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1707026', 'n_tokens_mistral': 1028, 'n_tokens_neox': 988, 'n_words': 362}