Creates an instance of AbstractJsonFileSection.
Readonly
defaultThe default values for the section.
Readonly
descriptionsDescriptions for each property key.
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
parsersString parsers for when editing config from command-line.
Readonly
prefixThe base string used as a prefix for the section.
Readonly
validatorsValidators for each property key.
The CommandBuilder associated with the section.
Gets the keys in the section.
The keys in the section.
Defines a property for the section.
The key of the property.
The options for the property.
Gets the value associated with the specified key.
The key to get the value for.
The value associated with the key.
Gets 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 the user-config section of the JSON file used as simple database.