toJSON Method @beta

Return a deep copy of all settings in this dictionary as a SettingsContainer. This is useful for inspecting the full contents of the dictionary or for building a modified copy to pass to updateSettingsResource. The returned container is cloned using Setting.clone, so callers may freely mutate it without affecting this dictionary's internal state.

toJSON(): SettingsContainer

Returns - SettingsContainer

Defined in

Last Updated: 18 April, 2026