Skip to content

JSON Extensibility Reference ​

From UNIFYConnect v6.0 onwards, extensibility configuration is stored in JSON format.

Value Types ​

Array ​

Represented as a JSON array, however does not support mix content types

json
[ "one", "two", "three" ]

Boolean ​

Represented as a JSON boolean value.

json
true

DateTime ​

Represented as a JSON object containing these properties.

PropertyValue
$fmtdateTime
$valueA JSON string containing an ISO 8601 format date time.
json
{ "$fmt": "dateTime", "$value": "2022-12-21T12:00:00.0000000" }

Enum ​

Represented as a JSON string. The string value must be the name of one of the enum values.

json
"DefaultCredentials"

Floating Point Number ​

Represented as a JSON decimal number.

json
1.345

GUID ​

Represented as a JSON object containing these properties.

PropertyValue
$fmtguid
$valueA JSON string containing an GUID
json
{ "$fmt": "guid", "$value": "411e8074-160f-4974-af88-a9be390794bc" }

Integer Number ​

Represented as a JSON whole number.

json
43

Null ​

Represented as a JSON null, or by omitting the property.

json
null

Object ​

Represented as a JSON object with a special $version property containing the schema version for that object. Each instance of a configuration object is versioned separately. It is recommended to not change these version numbers or the objects schema, instead let UNIFYConnect manage this; the latest object schema version will always be used when configuration is written.

json
{ "$version": "1.0", "name": "Example" }

Referenced Value ​

Represented as a JSON object with the $xref property containing an external configuration value store key. All value and type information is defined in the external store.

json
{ "$xref": "hostname" }

Secure String ​

Represented as a JSON object with the $secureValue property containing an encrypted value as a base64 encoded string.

json
{ "$secureValue": "YXNkZmxja2hqYXNkZGQ=" }

String ​

Represented as a JSON string.

json
"localhost"

TimeSpan ​

Represented as a JSON object containing these properties.

PropertyValue
$fmttimeSpan
$valueA JSON string containing time span.
json
{ "$fmt": "timeSpan", "$value": "1.10:20:30" }