JSON ABC
Sorts JSON object alphabetically. It supports nested objects, arrays and collections. Works offline and beautifies JSON object too.
Try it (Demo)
Supports
- Beautifies JSON
- Sorts Plain Objects, Collections, Arrays
- Has offline supports
- IE9+ Support
- Mobile/ Tablet friendly
- Sorting plain arrays is optional
Download
npm install jsonabc
Usage
- Used directly in Node:var myJsonAbc = ;var sorted = myJsonAbc;
- Built by Browserify, for directly inclusion in the browser:
Example
It converts this
to this
License: MIT