Alain Verleyen #: but is using 2.5 times more memory.
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.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
how?
These are not standard JSON integers.
MT5 exports JSON in UTF16 format, while this library exports files in UTF8 format. The order may differ, but the content is the same.
The JSON file path should be placed in `MQL5/Files/`.
There are many JSON libraries on this resource. Which one is the fastest?
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.
but is using 2.5 times more memory.