Jsondb / jsondb-atom-plugin

A atom plugin which helps in manual editing of Jsondb data files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jsondb-atom-plugin

A Jsondb data file in its entirety is not a valid JSON string, hence you cannot edit the complete Jsondb data file in a standard JSON conscious text editor. This makes it difficult to manully edit the file if the schema is complex.

However each row in a Jsondb data file (upto the LF) is expected to be a valid JSON document. This plugin when installed along with the Atom Editor can help to manually edit a Jsondb data file.

Note: MongoDB import files have a similar problem with manual editing, this plugin can be used for those files or any similar files

Usage

  • Install Atom Editor
  • Search and Install the jsondb-atom-plugin plugin
  • Activate the Plugin by selecting the Menu: Packages > json-atom-plugin > Toggle this will add a extra sub pane to the right.
  • Select the Jsondb text file you want to edit, and click on a line. The right pane will attempt to parse the line on which you have the cursor, if its a valid JSON it will show it in the right pane in a pretty indented form.

WIP: As of now the right pane is read only any changes made to it do not reflect back in the main document

About

A atom plugin which helps in manual editing of Jsondb data files

License:MIT License


Languages

Language:JavaScript 92.1%Language:CSS 7.9%