json question

9 views
Skip to first unread message

stefano cerbioni

unread,
Jul 25, 2022, 12:49:46 PM7/25/22
to The Ring Programming Language
hi guys  why if  i have this  json
[[1615593600000,"0.00000620","0.00000949","0.00000590","0.00000782","452210949.00000000",1615679999999,"3500.27534866",23591,"239301544.00000000","1843.89994896","0"]]

if  i call this  code
DailyQuote=BinApiKlineCandelstickData("KEYETH;1d;1615593600000;1615679999999;1000")
?DailyQuote
aListRetComm = Json2List(DailyQuote)
mysee (aListRetComm,1)

return me  this
[
    [
        [
            [
                [
                        1615593600000
                        0.00000620
                        0.00000949
                        0.00000590
                        0.00000782
                        452210949.00000000
                        1615679999999
                        3500.27534866
                        23591
                        239301544.00000000
                        1843.89994896
                        0
                ]

                [
                        0.00000620
                        0.00000949
                        0.00000590
                        0.00000782
                        452210949.00000000
                        1615679999999
                        3500.27534866
                        23591
                        239301544.00000000
                        1843.89994896
                        0
                ]

                [
                        0.00000949
                        0.00000590
                        0.00000782
                        452210949.00000000
                        1615679999999
                        3500.27534866
                        23591
                        239301544.00000000
                        1843.89994896
                        0
                ]

                [
                        0.00000590
                        0.00000782
                        452210949.00000000
                        1615679999999
                        3500.27534866
                        23591
                        239301544.00000000
                        1843.89994896
                        0
                ]

                [
                        0.00000782
                        452210949.00000000
                        1615679999999
                        3500.27534866
                        23591
                        239301544.00000000
                        1843.89994896
                        0
                ]

                [
                        452210949.00000000
                        1615679999999
                        3500.27534866
                        23591
                        239301544.00000000
                        1843.89994896
                        0
                ]

                [
                        1615679999999
                        3500.27534866
                        23591
                        239301544.00000000
                        1843.89994896
                        0
                ]

                [
                        3500.27534866
                        23591
                        239301544.00000000
                        1843.89994896
                        0
                ]

                [
                        23591
                        239301544.00000000
                        1843.89994896
                        0
                ]

                [
                        239301544.00000000
                        1843.89994896
                        0
                ]

                [
                        1843.89994896
                        0
                ]

                [
                        0
                ]

            ]

        ]

    ]

]


and not  only this ?
[
    [
        [
            [
                [
                        1615593600000
                        0.00000620
                        0.00000949
                        0.00000590
                        0.00000782
                        452210949.00000000
                        1615679999999
                        3500.27534866
                        23591
                        239301544.00000000
                        1843.89994896
                        0
                ]


Reply all
Reply to author
Forward
0 new messages