NSNumberCastable

public protocol NSNumberCastable : NSValueCastable

Used to enable decoding to different IntegerTypes from NSNumber.

  • Undocumented

    Declaration

    Swift

    static func convertFrom(_ n: NSNumber) -> Self
  • decode(_:) Extension method

    Undocumented

    Declaration

    Swift

    public static func decode(_ json: Any) throws -> Self