Skip to content
Hussein Duvigneau edited this page Mar 18, 2017 · 3 revisions

A tool for bulk-editing JSON data, inspired by an API refactor project.

Usage

  1. On the default "input" tab, enter raw JSON data, and then proceed to the "Edit" tab.
  2. Here you can create transformations to the JSON. The transformations will happen in order, and can be reordered and disabled.
  3. The transformation stack is persistent, meaning you can change your sample data in the input tab and immediately see how the same transformations would apply to it.
  4. The resulting JSON will output to the output tab.

Transformations

Delete

Delete the currently selected key. If the route from the stem of the JSON tree to the key crosses one or more arrays, the deletion will recurse and propagate through all objects which meet the same path, ignoring array indexes.

Rename

Same as above, but for renaming a key.

Hashify

To convert an array of objects into an object of objects. The value from the selected key becomes the look-up key of the value. Example.

Set-up

I'm hosting this publicly, but if you want to run the app yourself, then it's the same basic 3 steps as most other projects:

  1. git checkout
  2. npm install
  3. npm start for dev or webpack -p for production

Clone this wiki locally