Ensures that config has all the properties the data pattern contains, if not, puts default values to match the pattern.
string representation of JSON object representing the data pattern
Ensures that config has all the properties the data pattern contains, if not, puts default values to match the pattern.
javascript object representing the data pattern checkAndRestore
Ensures that config has all the properties the data pattern contains, if not, puts default values to match the pattern.
org.json.JSONObject instance to be used as data pattern
Gets property from the config.
option name, supports multi-layer calls, separated by '.'
Config instance with current config as parent if the
property is object, org.json.JSONArray instance if the property is an
array, raw type if the property is of that raw type, null
otherwise.
option name, supports multi-layer calls, separated by '.'
Editable Config.ConfigValue instance that can be used to manipulate this config option separately.
Sets config value. Do not use org.json.JSONObject instances to create nested objects, consider using dot-separated names instead.
option name, supports multi-layer calls, separated by '.'
value, may be org.json.JSONArray instance, org.json.JSONObject instance or raw data type
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Json configuration file reading/writing utility.