You are not logged in.
Pages: 1
Hello,
I have following json (cut to make it shorter):
{
"BTC_BCN": {
"id": 7,
"last": "0.00000074",
"lowestAsk": "0.00000075",
"highestBid": "0.00000074",
"percentChange": "-0.19565217",
"baseVolume": "501.50839619",
"quoteVolume": "628594122.91910744",
"isFrozen": "0",
"high24hr": "0.00000092",
"low24hr": "0.00000070"
},
"BTC_BELA": {
"id": 8,
"last": "0.00003080",
"lowestAsk": "0.00003123",
"highestBid": "0.00003061",
"percentChange": "-0.00996464",
"baseVolume": "30.82899899",
"quoteVolume": "986053.00991061",
"isFrozen": "0",
"high24hr": "0.00003287",
"low24hr": "0.00002887"
},
"BTC_BLK": {
"id": 10,
"last": "0.00005982",
"lowestAsk": "0.00005982",
"highestBid": "0.00005951",
"percentChange": "-0.04654128",
"baseVolume": "37.08548659",
"quoteVolume": "629307.51359707",
"isFrozen": "0",
"high24hr": "0.00006476",
"low24hr": "0.00005539"
}
}
I simply could not figure how I should be writing it's record(s). So far, I only put detail record and for master I simply stuck.
Detail = packed record
id: Integer;
last: string;
lowestAsk: string;
highestBid: string;
percentChange: string;
baseVolume: string;
quoteVolume: string;
isFrozen: string;
high24hr: string;
low24hr: string;
end;
Main = packed record
end;
Any help is appreciated.
Thanks
-Ertan
Offline
So, I should write a record including everything in this json returning in below link is what I understand.
Offline
Pages: 1