Framework: packages:json active - x684867/nemesis_server GitHub Wiki

PURPOSE:

This package extends the JSON.commented object to allow a JSON file to contain both
C-style comments **_AND_** JavaScript code, wrapped in functions.  This "active JSON"
is intended to merge code and data into a single object capable of transfer across
processes and hosts.

DEPENDENCIES:

JSON-commented.js
fs (node.js builtin)

FILES:

Filename Description
JSON-active.js JavaScript (node.js) module file which provides an init() method

DESIGN NOTES

JSON.active.parse() -->eval() a string into the run-time JavaScript. JSON.active.load() -->load a file then eval() the string result.

⚠️ **GitHub.com Fallback** ⚠️