Skip to content
This repository was archived by the owner on Aug 3, 2025. It is now read-only.

Repository files navigation

Jsonarch

Warning

This repository is old. New repository is jsonarch

Jsonarch is JSON to JSON processor for JavaScript/TypeScript, Commandline.

Requires: Node.js

🚧 UNDER CONSTRUCTION 🚧

Feature

  • Secure meta programmable JSON
  • Profiler ( systerm, code, data )
  • Origin map ( code, data )
  • Influence map ( code, data )
  • Call graph ( code )

Overview

Minimum processing flow

graph LR;
    T[Template JSON]-->J(Jsonarch);
    J(Jsonarch)-->O[Output JSON];
Loading

Maximum processing flow

graph LR;
    T[Template JSON]-->J(Jsonarch);
    P[Parameter JSON]-->J(Jsonarch);
    C[Cache JSON]-->J(Jsonarch);
    S[Setting JSON]-->J(Jsonarch);
    subgraph R[Result JSON]
        M((Meta data));
        O[Output JSON];
    end
    J(Jsonarch)-->M((Meta data));
    J(Jsonarch)-->O[Output JSON];
Loading
File Description
Template JSON Code.
Parameter JSON Data ( optional ).
Cache JSON Cache ( optional ).
Setting JSON Settings ( optional ).
Result JSON Output JSON with meta data( profile result, origin map, influence map, call graph, etc ).
Output JSON Generated JSON.

See Jsonarch Reference for details.

How to install for command

npm install jsonarch -g

How to use Jsonarch as command

You need to run this command with administrator privileges.

jsonarch template.json -p parameter.json -c cache.json -s setting.json -r result.json -o output.json

See Jsonarch Commandline Tool Reference for details.

How to install as npm package

npm install jsonarch --save

How to use Jsonarch as npm package

import { Jsonarch } from "jsonarch";

Jsonarch.process();

See Jsonarch Module Reference for details.

How to build

Requires: Node.js, TypeScript Compiler

tsc -P ./source or tsc -P ./source -w

JSON Schemas

Samples

References

License

About

Jsonarch is JSON to JSON processor for JavaScript/TypeScript, Commandline.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages