Discussing the article: "Using JSON Data API in your MQL projects" - page 3

 
fxsaber #:

That's a bit much. It's 12 ms here, but the data is 80 Mb.

No, everything with parsing is as optimal as possible. It's just that the data structure on the server is very suboptimal, which I couldn't influence. The parsing output is 5 arrays of structures, and the input (in the binary) is 2 arrays of structures. That is, 3 arrays of structures are nested in elements of 2 arrays of structures. That's why I had to copy element by element. The only thing I lied about was that I switched from JSON of 20 Mb to a binary of 2.2 Mb instead of 1.2 Mb.