A
A
anonymous2017-11-01 11:40:54
JSON
anonymous, 2017-11-01 11:40:54

How to do json deserialization?

{
  "dataset_data":
  {
    "limit":null,
    "transform":null,
    "column_index":null,
    "column_names":
    ["Date","Open","High","Low","Close","Volume","Ex-Dividend","Split Ratio","Adj. Open","Adj. High","Adj. Low","Adj. Close","Adj. Volume"],
    "start_date":"1999-11-18",
    "end_date":"2017-10-30",
    "frequency":"daily",
    "data":
    [
      ["2017-10-30",67.8,67.93,67.1,67.49,846605.0,0.0,1.0,67.8,67.93,67.1,67.49,846605.0],
      ["2017-10-27",67.81,68.01,67.41,67.97,1440956.0,0.0,1.0,67.81,68.01,67.41,67.97,1440956.0],
      ["2017-10-26",67.53,67.83,67.2,67.71,1417947.0,0.0,1.0,67.53,67.83,67.2,67.71,1417947.0],
      ["2017-10-25",67.9,68.52,67.03,67.4,1590110.0,0.0,1.0,67.9,68.52,67.03,67.4,1590110.0],
      ["2017-10-24",67.31,67.55,66.88,67.32,1966591.0,0.0,1.0,67.31,67.55,66.88,67.32,1966591.0],
    ],
"collapse":null,
"order":null
}
}

you need to pull out this collection of data
["2017-10-30",67.8,67.93,67.1,67.49,846605.0,0.0,1.0,67.8,67.93,67.1,67.49,846605.0],
I don't know how

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Arkadiy Parinov, 2017-11-01
@anonymouss

quite harmful, but advice on how to make it easier if it's only for once and no one else will know about it =)

I
igorsmi, 2017-11-01
@igorsmi

Connect the Newtonsoft.Json library and write (T)JsonConvert.DeserializeObject<T>(Text);
Where T is the type to be deserialized and Text is the object itself to be deserialized

D
Dmitry Bashinsky, 2017-11-17
@BashkaMen

https://www.youtube.com/watch?v=NiZY7EmFSCE

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question