Clears all entries in the dictionary.
Deletes a key-value pair from the dictionary.
The key to remove.
true
if the key was deleted, otherwise false
.
Checks if the dictionary contains a specific key.
The key to check.
true
if the key exists, otherwise false
.
Serializes the dictionary into a JSON string.
Whether to format with indentation (false
by default).
A JSON representation of the dictionary.
Gets the number of entries in the dictionary.