Hello, sorry for the late reply.
If you are trying to access specific members of the object you have to take into consideration the structure of the object.
For example to retrieve the "user_mail" :
this data member is encapsulated in the Json array "result" . So you first have to retrieve the array
JSONObject *jo = jv; JSONArray *jd = jo.getArray("result"); //jd json array now contains the members of the array , which is one object, so you can access the members of this // object as follows Print("User Email - "+jd.getObject(0).getString("user_email"));
Hello, sorry for the late reply.
If you are trying to access specific members of the object you have to take into consideration the structure of the object.
For example to retrieve the "user_mail" :
this data member is encapsulated in the Json array "result" . So you first have to retrieve the array
Thank you, friend, that's exactly what I did.
my problem was exactly that I did not know which array was the key to fetching the rest
MemberMail=("" + jo.getArray("result").getObject(0).getString("user_email")); // Print to test call function Print("Member:", MemberMail);

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Any one could help me how can i parse this data to my mql4
im only getting the respond = 1.... if i print resp i can get all data as json on mt4 log but when i try to get for example only display_name from json to comment on the chart its comes nothing
im using json.mqh and hash.mqh for http request im using wininet.dll base and working nice and its very fast response