         
         let response = try! decoder.decode(Response<Antique>.self, from: self.responseArrayData!)
         print(response)
+        
+//        SingleValueDecodingContainer
+        let dogs = try! decoder.decode([Dog].self, from: self.singleValueContainerJsonData)
+        
+        print(dogs)
     }
     
     override func viewDidLoad() {

struct Response<T:Decodable>:Decodable {
    var code:String
    var data:Any
    
    enum ResponseType : String{
        case ReponseTypeDictionary,ReponseTypeArray

    }
}

struct Dog:Decodable {
    var name:String
//    var aga:UInt
    init(_ name:String) {
        self.name = name
    }
    
    init(from decoder:Decoder) {
        let singleValueContainter = try! decoder.singleValueContainer()
        let dogName = try! singleValueContainter.decode(String.self)
        print(dogName)
        self.init(dogName)
    }
}




