What is this data format?

Today, when I transferred to the public api website of a trading station, the opposite side returned this format. I have never encountered it. Baidu is less than. I would like to ask which god has seen it. Can you explain it?

107:42["chartdata/WTHC/MIN",{"time":1533733440000,"high":101,"low":101,"open":101,"close":101,"volume":101000}]
112:42["chartdata/DSC/D",{"time":1533686400000,"high":179,"low":179,"open":179,"close":179,"volume":22872.22222083}]
114:42["chartdata/DSC/MIN",{"time":1533725940000,"high":179,"low":179,"open":179,"close":179,"volume":22872.22222083}]
97:42["chartdata/TAL/M",{"time":1533081600000,"high":2,"low":2,"open":2,"close":2,"volume":2738718}]
97:42["chartdata/TAL/W",{"time":1533513600000,"high":2,"low":2,"open":2,"close":2,"volume":1858118}]
102:42["chartdata/IBT/D",{"time":1533772800000,"high":9,"low":6,"open":6,"close":9,"volume":1389135.8964}]
114:42["chartdata/WTHC/M",{"time":1533081600000,"high":101,"low":100,"open":100,"close":101,"volume":288913.99999962}]
Apr.07,2021

remove the previous number, which is obviously a json object. The format of the php array is as follows

[
     "chartdata/WTHC/MIN",
     [
       "time" => 1533733440000,
       "high" => 101,
       "low" => 101,
       "open" => 101,
       "close" => 101,
       "volume" => 101000,
     ],
   ]

is just a two-dimensional array, don't be afraid.

clipboard.png


first judge the type. If it is string, you can capture the following array for parsing, and then you can get the format you want. If the type is not string, look at the specific type to deal with


json ah, is this also questionable?
you don't recognize it if you add something in front of it.

Menu