tanagra-auto-mapper

Methods

(static) generateTypeMap(baseModule)

Walks the module tree in _node.js_ to build up a map of classes, meaning the user doesn't have to specify the type to deserialize to.
Parameters:
Name Type Description
baseModule The module which contains all other modules to be analyzed.
Source:
Example
generateTypeMap(module)