1.0.5 • Published 4 years ago
@nbb.com/ts-json-loader v1.0.5
ts-json-loader
:Author: Thorben Wolkersdorfer :Email: thorbenw@nbb.com :AuthorUrl: https://www.notebooksbilliger.de/ :Date: 2020-03-15 :Revision: 1.0.5 :License: MIT
- Version {revision}
- Licensed under the {license} license.
Load object properties from JSON files to existing objects
Installation
source,bash
npm install "@nbb.com/ts-json-loader"
Provides functionality to load property values from a JSON file and apply it to an existing object, primarily meant to serve as a aconvenient configuration loader.
Usage
source, typescript
import * as tsjson from '@nbb.com/ts-json-loader';
class MySettings {
StringValue: string = Short description used as the default value in newly created JSON file
;
}