Params

open class Params

Parameter Wrapper

  • Sets the value enumeration to a JSON dictionary.

    Declaration

    Swift

    public init(_ json: JsonDictionary)

    Parameters

    json

    JSON dictionary to be used as a parameter value

  • Sets the value enumeration to any Mappable object or StaticMappable struct.

    Declaration

    Swift

    @available(*, deprecated, message: "Deprecated in version 3.18.0. Please use Swift.Codable instead")
    public convenience init<T>(_ object: T) where T : BaseMappable

    Parameters

    object

    Mappable object or StaticMappable struct to be used as a parameter value

  • Undocumented

    Declaration

    Swift

    public convenience init(_ object: JSONEncodable) throws
  • Undocumented

    Declaration

    Swift

    public convenience init<T>(_ object: T) throws where T : Encodable