Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 600 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 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