Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Windows developer