Decodable
public extension Decodable
                Usage examples: see extension Encodable
- 
                  
                  
Decode Data into Self?
Declaration
Swift
static func decode(with decoder: JSONDecoder = JSONDecoder(), from data: Data) -> Self?Parameters
decoderdefaults to JSONDecoder
datapreviously encoded Data
Return Value
Self?
 - 
                  
                  
Decode String into Self?
Declaration
Swift
static func decode(with decoder: JSONDecoder = JSONDecoder(), from string: String) -> Self?Parameters
decoderdefaults to JSONDecoder
stringpreviously encoded String
Return Value
Self?