You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
This one is a lot faster
Comparison of this library with the old JASon, with a data file of 100 MB
2025.12.20 12:47:28.234 jason_bench (EURUSD,H1) JASon Example Deserialization:
2025.12.20 12:47:50.302 jason_bench (EURUSD,H1) Deserialize 107652093 bytes JSON in 22020713 microseconds.
2025.12.20 12:47:50.302 jason_bench (EURUSD,H1) Check value = Richard Sullivan
2025.12.20 12:47:50.302 jason_bench (EURUSD,H1) Terminal memory used =2023, MQL memory used = 1958 MB
2025.12.20 12:47:53.007 JsonLib_bench (EURUSD,H1) ====== MQL5 JSON Library - Bench parsing ======
2025.12.20 12:47:54.601 JsonLib_bench (EURUSD,H1) Deserialize 107652093 characters JSON in 1461365 microseconds.
2025.12.20 12:47:54.601 JsonLib_bench (EURUSD,H1) Check value = Richard Sullivan
2025.12.20 12:47:54.601 JsonLib_bench (EURUSD,H1) Terminal memory used =4987, MQL memory used = 4879 MB
This one is a lot faster but is using 2.5 times more memory.
toysjon library.
Example.
toysjon library.
Example.
The latest update is here:
Forum on trading, automated trading systems and testing trading strategies
Experts: MQL5 Programming for Traders – Source Codes from the Book. Part 7
Stanislav Korotky, 2025.07.05 20:02
Here is yet another minor bugfix in ToyJson3.mqh - floating point numbers with exponent (scientific notation, like "1e-8") are now detected correctly during parsing.toysjon library.
Example.
2025.12.20 17:46:39.187 toyjson_bench (EURUSD,H1) Deserialize 107652093 bytes JSON in 1101111 microseconds.
2025.12.20 17:46:39.187 toyjson_bench (EURUSD,H1) Check value = "Richard Sullivan"
2025.12.20 17:46:39.187 toyjson_bench (EURUSD,H1) Terminal memory used =2738, MQL memory used = 2493 MB
Thank you for testing. This library has a streaming JSON parsing feature. Using this feature, memory usage should be minimal, but I'm not sure if the speed will decrease, as I haven't conducted thorough testing.
2025.12.20 17:46:39.187 toyjson_bench (EURUSD,H1) Deserialize 107652093 bytes JSON in 1101111 microseconds.
2025.12.20 17:46:39.187 toyjson_bench (EURUSD,H1) Check value = "Richard Sullivan"
2025.12.20 17:46:39.187 toyjson_bench (EURUSD,H1) Terminal memory used =2738, MQL memory used = 2493 MB
Форум по трейдингу, автоматическим торговым системам и тестированию торговых стратегий
Обсуждение статьи "Осваиваем JSON: Разработка пользовательского JSON-ридера с нуля на MQL5"
Jonathan Pereira, 2026.02.17 11:40
https://www.mql5.com/ru/code/685962026.02.17 08:30:32.163 toyjson_bench (GBPAUD,H4) ====== toyjson3 - Bench parsing ======
2026.02.17 08:30:33.507 toyjson_bench (GBPAUD,H4) Deserialize 107652093 bytes JSON in 1111794 microseconds.
2026.02.17 08:30:33.507 toyjson_bench (GBPAUD,H4) Check value = "Richard Sullivan"
2026.02.17 08:30:33.507 toyjson_bench (GBPAUD,H4) Terminal memory used =2682, MQL memory used = 2493 MB
2026.02.17 08:42:22.467 fast_json_bench (GBPAUD,H4) ====== fast_json - Bench parsing ======
2026.02.17 08:42:22.733 fast_json_bench (GBPAUD,H4) Deserialize 107652093 bytes JSON in 81625 microseconds.
2026.02.17 08:42:22.733 fast_json_bench (GBPAUD,H4) Check value = Richard Sullivan
2026.02.17 08:42:22.733 fast_json_bench (GBPAUD,H4) Terminal memory used =1745, MQL memory used = 1746 MB
Forum on trading, automated trading systems and testing trading strategies
Libraries: MQL4/5-JsonLib
fxsaber, 2025.12.20 07:39
Better.
Fórum de negociação, sistemas de negociação automatizados e testes de estratégias de negociação
Bibliotecas: JSON Library for LLMs
fxsaber, 2026.02.19 08:14
Better.