ActionParameterEncodable
public protocol ActionParameterEncodable
Procotol to encode objects in api request.
-
Return a JSON encodable value
Declaration
Swift
func encodeForActionParameter() -> Any
-
metadata()
Default implementationReturn if needed some metadata to help decoding on server.
Default Implementation
Declaration
Swift
func metadata() -> Any?