Hello,
Any have code to read a Json Array from a file and do the loop?
My code.. What i can to do the loop of values?
Thanks,
Baltazar
Any have code to read a Json Array from a file and do the loop?
Code:
DEFINE VARIABLE JsonParser_arr AS ObjectModelParser NO-UNDO.
DEFINE VARIABLE ResultObject_arr AS JsonArray NO-UNDO.
JsonParser_arr= NEW ObjectModelParser().
ResultObject_arr = CAST(JsonParser_arr:ParseFile("c:\temp\test_array.json"), JsonArray).
My code.. What i can to do the loop of values?
Thanks,
Baltazar