Click or drag to resize

JsonDbSet(String, Boolean, JsonDbeSaveType) Method

Set the value of a JSON object in the database.

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static JsonDbeJsonDbResult Set(
	string jsonObj,
	bool partial,
	JsonDbeSaveType save
)

Parameters

jsonObj  String
JSON object to be stored.
partial  Boolean
false: entire JSON object will be written, overwriting any existing values;

true: update existing object with members in the JSON being written. (typical)

save  JsonDbeSaveType
Indicates if the json should be stored non-volatilely. Typically set to DataStored.

Return Value

JsonDbeJsonDbResult
See JsonDbeJsonDbResult
Exceptions
ExceptionCondition
NotSupportedExceptionThis version of firmware does not support JsonDb feature.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also