All Projects → ShivrajRath → Jsonabc

ShivrajRath / Jsonabc

Licence: mit
Sorts JSON object alphabetically. It supports nested objects, arrays and collections. Works offline and beautifies JSON object too.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Jsonabc

Jj
JSON Stream Editor (command line utility)
Stars: ✭ 1,033 (+933%)
Mutual labels:  utility, json
Aspjson
A fast classic ASP JSON parser and encoder for easy JSON manipulation to work with the new JavaScript MV* libraries and frameworks.
Stars: ✭ 165 (+65%)
Mutual labels:  utility, json
Mercury
Simple Android app that sends pre-configured commands to remote servers via SSH.
Stars: ✭ 100 (+0%)
Mutual labels:  utility, json
sortr-cli
a cli tool to sort files in your machine 🗃
Stars: ✭ 12 (-88%)
Mutual labels:  utility, sort
Tabulator
Interactive Tables and Data Grids for JavaScript
Stars: ✭ 4,329 (+4229%)
Mutual labels:  sort, json
Jql
A JSON Query Language CLI tool
Stars: ✭ 368 (+268%)
Mutual labels:  utility, json
sortr.py
sort files using python
Stars: ✭ 15 (-85%)
Mutual labels:  utility, sort
Remarshal
Convert between CBOR, JSON, MessagePack, TOML, and YAML
Stars: ✭ 421 (+321%)
Mutual labels:  utility, json
Jsonmasking
Replace fields in json, replacing by something, don't care if property is in depth objects. Very useful to replace passwords credit card number, etc.
Stars: ✭ 95 (-5%)
Mutual labels:  utility, json
Schemer
Schema registry for CSV, TSV, JSON, AVRO and Parquet schema. Supports schema inference and GraphQL API.
Stars: ✭ 97 (-3%)
Mutual labels:  json
Crawlerpack
Java 網路資料爬蟲包
Stars: ✭ 99 (-1%)
Mutual labels:  json
Json4s
A single AST to be used by other scala json libraries
Stars: ✭ 1,341 (+1241%)
Mutual labels:  json
Gameviewlayouter
A utility script that layouts game views with multiple displays.
Stars: ✭ 97 (-3%)
Mutual labels:  utility
Date And Time
A Minimalist DateTime utility for Node.js and the browser
Stars: ✭ 99 (-1%)
Mutual labels:  utility
Undictify
Python library providing type-checked function calls at runtime
Stars: ✭ 97 (-3%)
Mutual labels:  json
Parse Google Docs Json
Authenticates with Google API and parse Google Docs to JSON or Markdown
Stars: ✭ 100 (+0%)
Mutual labels:  json
Pysmi
SNMP MIB parser
Stars: ✭ 96 (-4%)
Mutual labels:  json
Php Jsondb
A PHP Class that reads JSON file as a database. Use for sample DBs
Stars: ✭ 96 (-4%)
Mutual labels:  json
Wernicke
Redaction for structured data
Stars: ✭ 100 (+0%)
Mutual labels:  json
Dynamo Archive
Archive and Restore DynamoDB Tables, from the Command Line
Stars: ✭ 99 (-1%)
Mutual labels:  json

Build Status

JSON ABC

Sorts JSON object alphabetically. It supports nested objects, arrays and collections. Works offline and beautifies JSON object too.

Try it (Demo)

JSON ABC

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

  1. Used directly in Node:
    var myJsonAbc = require("jsonabc");
    var sorted = myJsonAbc.sortObj({ c: 0, b: 1, a: 0 });
    
  2. Built by Browserify, for directly inclusion in the browser:
    <script src="dist/jsonabc.js"></script>
    <script>
      var output = jsonabc.sort(inputStr, noarray);
    </script>
    

Example

It converts this

{
  "object": {
    "b": 2,
    "a": 1,
    "d": 4,
    "c": 3
  },
  "array": ["d", "1", "c", "a", "b"],
  "collection": [
    {
      "b": 2,
      "a": 1,
      "d": 4,
      "c": 3
    },
    {
      "__b1": 2,
      "__a2": 1,
      "__d3": 4,
      "__c4": 3
    },
    ["d", "1", "c", "a", "b"]
  ]
}

to this

{
  "array": ["1", "a", "b", "c", "d"],
  "collection": [
    ["1", "a", "b", "c", "d"],
    {
      "__a2": 1,
      "__b1": 2,
      "__c4": 3,
      "__d3": 4
    },
    {
      "a": 1,
      "b": 2,
      "c": 3,
      "d": 4
    }
  ],
  "object": {
    "a": 1,
    "b": 2,
    "c": 3,
    "d": 4
  }
}

License: MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].