peterchan75
Supremacy Member
- Joined
- Apr 26, 2003
- Messages
- 6,719
- Reaction score
- 529
Hi,
I trying the parse this JSON using Jscript JSON.parse but this method is not support. Some suggest using eval(). I tried but couldn't get it to work. Any advice is much appreciated.
I trying the parse this JSON using Jscript JSON.parse but this method is not support. Some suggest using eval(). I tried but couldn't get it to work. Any advice is much appreciated.
Code:
var json = [{"date":"2021-06-04T00:00:00.000Z","close":125.89,"high":126.16,"low":123.85,"open":124.07,"volume":75169343,"adjClose":125.89,"adjHigh":126.16,"adjLow":123.85,"adjOpen":124.07,"adjVolume":75169343,"divCash":0.0,"splitFactor":1.0},{"date":"2021-06-07T00:00:00.000Z","close":125.9,"high":126.32,"low":124.8321,"open":126.17,"volume":71057550,"adjClose":125.9,"adjHigh":126.32,"adjLow":124.8321,"adjOpen":126.17,"adjVolume":71057550,"divCash":0.0,"splitFactor":1.0}];