wesleybliss / json-entity-parser

Parses raw JSON & extracts flat entities with references

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JSON Entity Parser

JSON_EP parses raw JSON & extracts flat entities with references, similar to Mongoose or Realm models.

Install

$ git clone --depth=1 <repo> <dir>
$ cd <dir>
$ yarn

Build

$ yarn build

Files will be output to ./dist

Demo

$ yarn demo

CLI

$ entity-parser /foo/bar/my.json

Options

Param Type Default Description
--idkey String id ID key, typically "id" or "_id" (MongoDB)
--logging Boolean false Enable or disable logging

About

Parses raw JSON & extracts flat entities with references


Languages

Language:JavaScript 100.0%