Constructor
new JsonStore(dataDir, name)
Creates a new JsonStore
Parameters:
Name | Type | Description |
---|---|---|
dataDir |
string |
Path to the directory in which to store data. |
name |
string |
The name of the file to store data in. This should match the class name of the type of object you're storing. The file name will have a .json extension appended automatically. |
- Source: