title: How to decode this json data in Moya? and how to show json data in tableviewcell?
body: <p>I want to solution, how to decode this json.</p>
  <p>this is getList(stockData) json.</p>
  <pre><code>[
    [
      &quot;252670&quot;,
      &quot;KODEX 200선물인버스2X&quot;,
      3315,
      &quot;+4.25%&quot;,
      218745577
    ],
    [
      &quot;251340&quot;,
      &quot;KODEX 코스닥150선물인버스&quot;,
      5275,
      &quot;+3.53%&quot;,
      58819709
    ] 
  ]
  </code></pre>
  <p>it isn't key:value type. so I search how to decode only value types. and I found two things.</p>
  <p>First : Use <strong>JSONSerialization</strong>.</p>
  <p>Before, I made Two-dimensional array first.</p>
  <pre><code>var stockList = [[Any]]()
  </code></pre>
  <p>then, I write Moya(TargetType) and request.
  this is my targetType code.</p>
  <pre><code>enum moneyGraph {
     case getList
     case searchCode(_ event: String)
     case getPrice(_ code: String)
     case prediction(_ code: String)
  }
  
  extension moneyGraph : TargetType {
  
     var baseURL: URL {
         return URL(string: baseAPI.baseURL)!
     }
  
     var path: String {
         switch self {
         case .getList:
             return &quot;/stock&quot;
         case .searchCode(let event):
             return &quot;/stock/\(event)&quot;
         case .getPrice(let code):
             return &quot;stock/price/\(code)&quot;
         case .prediction(let code):
             return &quot;stock/prediction/\(code)&quot;
         }
     }
  
     var method: Moya.Method {
         return .get
     }
  
     var task: Task { 
        return .requestPlain
     }
  
     var headers: [String : String]? {
         return [:]
     }
  }
  </code></pre>
  <p>this is request code.</p>
  <pre><code>provider.request(.getList) { (result) in
     switch result {
     case let .success(res):
        switch res.statusCode {
        case 200:
                  
          //decode here. ( how do I write in jsonObject(with : )? )
          if let data = try? JSONSerialization.jsonObject(with: ) as? [[Any]] {
              print(data)
              self.stockList = data
          }
                  
          print(res) //print : Status Code: 200, Data Length: 39
                  
        default:
           print(res.statusCode)
        }
  
     case let .failure(error):
        print(error.localizedDescription)
  
    }
  }
  </code></pre>
  <p>Second : Use <strong>init(from decoder: Decoder)</strong>
  -&gt; I haven't tried this method yet.</p>
  <p>+) I don't even know how to do it..</p>
  <p>...</p>
  <p>I'm not declared Codable, because there was no key value.</p>
  <p>so I don't know how to decode it.</p>
  <p>I want to solution this things.</p>
  <p><strong>1. How to decode in only value type Json?</strong></p>
  <p><strong>2. How to show this data in tableviewcell?</strong></p>
  <p>My goal is to show the json values in tableviewcell.</p>
  <p>Please let me know anytime if there is anything missing in the article.</p>