MasterDataResource Class
Item Index
Methods
- build
- getDirPath static
- getJSONPath static
- getMemoryResource
- init
- loadFromJSON
- toPlainObject
Methods
build
()
Create JSON file from tsv files (only called by Node.js)
getDirPath
()
String
public
static
Get master data dir
Returns:
String:
getJSONPath
()
String
public
static
Get master JSON path
Returns:
String:
init
()
public
chainable
load data from directory(Node.js) or JSON (other environments)
loadFromJSON
()
private
load data from JSON file
toPlainObject
()
Object
Create plain object
Returns:
Object:
plainObject