Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, aliswee), 835 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to write dataParseJSON format correctly ? #475947
01/15/19 01:13
01/15/19 01:13
Joined: Dec 2018
Posts: 22
VN
C
Chuate Offline OP
Newbie
Chuate  Offline OP
Newbie
C

Joined: Dec 2018
Posts: 22
VN
Hello,

I want to convert json to t6 by using dataParseJSON.

+%t,f3,f1,f2,f4,f6 works for csv but with json I don't know how to write correctly. Anyone here can help me ?

This is api json I want to get


This is json format in manual page:
Quote:
"Start,Time,Timeformat,High,Low,Open,Close,AdjClose,Volume"

Re: How to write dataParseJSON format correctly ? [Re: Chuate] #475968
01/16/19 01:48
01/16/19 01:48
Joined: Dec 2018
Posts: 22
VN
C
Chuate Offline OP
Newbie
Chuate  Offline OP
Newbie
C

Joined: Dec 2018
Posts: 22
VN
I changed to "+%t,open,high,low,close" but it still show error.

Re: How to write dataParseJSON format correctly ? [Re: Chuate] #475971
01/16/19 07:29
01/16/19 07:29
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline
Junior Member
kvm  Offline
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
No, it's not possible! As you can see, the json you receive contains unnamed fields, so you can't reference them by name in your format string.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1