Dictionary Extensions

Omar Albeik edited this page Dec 9, 2016 · 3 revisions

Dictionary extensions

Character extensions

Methods:

Name Return Description
has(key: Key) Bool Check if key exists in dictionary.
jsonData(prettify: Bool = false) Data? JSON Data from dictionary.
jsonString(prettify: Bool = false) String? JSON String from dictionary.
lowercaseAllKeys() -- Lowercase all keys in dictionary.