Edit

ToggleSetting.LoadFromJson(JsonObject) Method

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

The LoadFromJson method loads a toggle setting from a jsonObject parameter. This is used to initializing the toggle setting with data that has been serialized in JSON format.

Parameters

jsonObject JsonObject

The JsonObject that contains the toggle setting data. This object is typically loaded from a JSON file or string.

Returns

A ToggleSetting object that represents the loaded toggle setting.