Subscripts
The following subscripts are available globally.
-
Retrieves a value from the dictionary using the given
JSONKey.Note
Whenever the
Dictionary.Keygeneric type is notString,nilis always returned.Declaration
Swift
public subscript(key: JSONKey)Parameters
keyThe key whose associated value is to be retrieved.
Return Value
The dictionary value associated with
key, ornilif no such value exists.
View on GitHub
Subscripts Reference