Abstract
Creates an instance of AbstractJsonFileSection.
Readonly
defaultThe default values for the section.
Readonly
fileThe parent JsonFile instance.
Protected
isIndicates whether the section has been initialized.
Protected
Readonly
keysIndicates whether the keys in the section are fixed.
Protected
Readonly
nameThe name of the section.
Readonly
prefixThe base string used as a prefix for the section.
The CommandBuilder associated with the section.
Gets the keys in the section.
The keys in the section.
Abstract
assertAbstract
defineAbstract
initializeGets the object path prefix as dot-separated keys for this section of the JSON file database.
Optional
key: stringAn optional key to append to the prefix path.
The object path prefix.
An error if the keys are fixed and the specified key does not exist in the default values.
Updates the value associated with the specified key.
The key to set the value for.
The callback function that returns the new value.
Indicates whether to save the section after setting the value.
Generated using TypeDoc
A class that represents a section of the JSON file used as a simple database.