JSONDecodable
public protocol JSONDecodable
Decode object form JSON
-
toObject(from:type:)
Default implementationUndocumented
Default Implementation
Undocumented
Undocumented
Declaration
Swift
func toObject<T>(from string: String, type: T.Type) -> T? where T : Decodable
-
Undocumented
Declaration
Swift
func toObject<T>(from data: Data, type: T.Type) -> T? where T : Decodable