APIResponse

public class APIResponse<T: JsonConvertible>: JsonConvertible, CustomStringConvertible

The common wrapper object that is returned by the StackExchange API.

Authors

FelixSFD, NobodyNada

  • The items that are returned of the generic type T.

    Note

    It’s always an array. Even if only a single item was requested.

    Author

    FelixSFD

    Declaration

    Swift

    public var items: [T]?