json-decorate
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

json-decorate

Serialize and deserialize json data to and from classes using experimental decorators

Requirements

json-decorate makes use of typescripts experimental decorators and therefore must be enabled in your tsconfig tsconfig.json

{
    "compilerOptions": {
        ...,
        "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
        "emitDecoratorMetadata": true  /* Enables experimental support for emitting type metadata for decorators. */
    }
}

Package Sidebar

Install

npm i json-decorate

Weekly Downloads

6

Version

2.0.0

License

ISC

Unpacked Size

34.4 kB

Total Files

26

Last publish

Collaborators

  • sombertm