Json file reading

 

Hi programmers,


I try to read a Json file and get somes values from it. For that I use the JAson.mqh library (for MQL5).


It works perfectly for a little file which not exceed 255 characters (max allowed for a string value).


But for a larger file, that cause an issue because the string value is limited to 255 character.


My questions are :

- how could it be possible to have a string value without limited length ?

- Is ther any solutions for reading Json larger file (sample code could be appreciate)


Many thanks !

Erwann.

 

Problem solve : there is no limitation of 256 character length for a string :)

The only limitation is for initialisation with quotes "".

But a string variable could have a thousands of length.

And for information a Print(my_string_var) is limited to 256 characters too... :)


Bye,

Erwann.

Reason: