Encodable
public extension Encodable
-
A string representation of
SelftypeThrows
JSON Encode failure errorDeclaration
Swift
func toString() throws -> String?Return Value
The string representation on successful encode
-
A string representation of
SelftypeThrows
JSON Encode failure errorDeclaration
Swift
func toDictionary() -> [String : Any]?Return Value
The string representation on successful encode