Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

JSON Parser - MetaTrader 4 Library | MT4 EA Download - MetaTrader 4 Resources

author EAcpu | 2 reads | 0 comments |

JSON Parser - library for MetaTrader 4

JSON Parser - library for MetaTrader 4

JSON Parser - library for MetaTrader 4

JSON Parser - library for MetaTrader 4

This parses an mql4 string containing JSON code. It creates a JSONValue that can be used to retrieve fields in a JSON structure. It also provides a JSONIterator class to loop over object keys.

It uses a simple recursive descent parser to parse JSON. It requires a hash value class.

I still need to implement the parsing of unicode escape characters.

The codebase version may not be the latest. The latest version can be found here .

JSONParser class

JSONValue class


Attachment download

📎 json.mqh (23.93 KB)

Source: MQL5 #11134

JSON parser - MetaTrader 4 library | MT4 EA download - MetaTrader 4 resource usage and filtering suggestions

JSON Parser - MetaTrader 4 Library | MT4 EA Download - MetaTrader 4 resources belong to MT4 EA related resources. Before downloading or referencing, it is recommended to confirm the platform version, transaction type, time period, whether DLL is required, whether source code is included, parameter description and historical update records.

Both automated trading tools and foreign exchange indicators should first undergo backtesting, simulated account observation, and small capital verification. Pay special attention to spreads, slippages, maximum drawdowns, position opening frequency, stop loss methods, trading periods and broker rules, and avoid direct real-time execution based on titles or short-term profit descriptions.

Verification code Refresh