0.0.12 • Published 7 years ago

pojo-deserializer v0.0.12

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

pojo-deserialize

Node.JS library for deserializing POJO/JSON parsed objects to Javascript code.

Dependencies

  • object.value 1.0.3

Installation

npm install pojo-deserialize

var pojoJs = new pojoDeserializer();

var pojo = JSON.parse('{"Hello":"My String Var", "Contents":[1,2,3]}');

var deserializedJsCode = pojoJs.deserializePojo(pojo);

console.log(deserializedJsCode);
/*
    prints --- { Hello: 'My String Var', Contents: [ 1, 2, 3]}
*/

Test

npm test

Documentation

API documentation can be found at https://github.com/whindes/PojoScriptifyFromJSON/Readme.md

Implementation Notes

  • Supports browser or Node.js implementations
0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.1

7 years ago