Members and overloads 13 declared here Search includes inherited members below. 2 matching inherited members →
On this results page JsonSettings(string) GetDefaultValue(Expression<Func<T>>) GetProperty(string) GetSettingsFilePath(string[]) HasProperty(string) LoadFrom(string) Save() SaveAs(string) SetProperty(string, object) Validate(List<string>) AssemblyPath FilePath SettingsPath
Copy
public JsonSettings.JsonSettings(string path)
Creates a new JsonSettings instance using the supplied arguments.
Parameters
pathParameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies path.
Copy
protected T JsonSettings.GetDefaultValue<T>(Expression<Func<T>> exp)
Calls GetDefaultValue on JsonSettings with exp and returns T. Open the return contract below before using the result.
Return type: TNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Parameters
expParameter type: Expression<Func<T>>No current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies exp.
Returns: The T result.
Copy
public object JsonSettings.GetProperty(string name)
Calls GetProperty on JsonSettings with name and returns object. Open the return contract below before using the result.
Return type: objectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Parameters
nameParameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies name.
Returns: The object result.
GetSettingsFilePath Method Link ↗
Copy
public static string JsonSettings.GetSettingsFilePath(params string[] subPathParts)
Calls GetSettingsFilePath on JsonSettings with subPathParts and returns string. Open the return contract below before using the result.
Return type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Parameters
subPathPartsParameter type: string[]No current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies sub path parts.
Returns: The string result.
Copy
public bool JsonSettings.HasProperty(string name)
Checks for property using the supplied arguments.
Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Parameters
nameParameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies name.
Returns: A Boolean result. The member description explains the condition being checked.
Copy
protected void JsonSettings.LoadFrom(string file)
Loads from using the supplied arguments.
Return type: voidNo return value.
Parameters
fileParameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies file.
Copy
public void JsonSettings.Save()
Calls Save on JsonSettings without arguments. This overload has no return value.
Return type: voidNo return value.
Copy
public void JsonSettings.SaveAs(string file)
Saves as using the supplied arguments.
Return type: voidNo return value.
Parameters
fileParameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies file.
Copy
public void JsonSettings.SetProperty(string name, object value)
Calls SetProperty on JsonSettings with name, value. This overload has no return value.
Return type: voidNo return value.
Parameters
nameParameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies name.
valueParameter type: objectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies value.
Copy
public virtual bool JsonSettings.Validate(out List<string> errors)
Calls Validate on JsonSettings with errors and returns bool. Open the return contract below before using the result.
Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Parameters
errorsParameter type: List<string>No current DPB page is linked for this built-in, external, generic or compatibility-only type.
Receives errors.
Returns: A Boolean result. The member description explains the condition being checked.
Copy
public static string JsonSettings.AssemblyPath { get; }
Reads assembly path on JsonSettings as string. The exact type and accessors are shown below.
Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Copy
public string JsonSettings.FilePath { get; internal set; }
Reads or assigns file path on JsonSettings as string. The exact type and accessors are shown below.
Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Copy
public static string JsonSettings.SettingsPath { get; }
Reads settings path on JsonSettings as string. The exact type and accessors are shown below.
Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
DPB2 0.4.5.103 · Reference reviewed 2026-10-30. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.