There are examples of JSONs as follows.
The JSON example that we are trying to put in the StringGrid is larger than this original text.
Please tell me how to put JSON in the StringGrid using a for
loop or any iteration statement.
{
"JSON":"FIXED",
"PARSER":"NOTREADY",
"TRANJACTION":"0",
"COUNT":"7",
"JSON_DATA":
{
"TEST1":"1",
"TEST2":"00000",
"TEST3":"1",
"ALPHA":"ABC",
"BETA":"HI",
"CHARLIE":"ABC000"
},
{
"TEST1":"2",
"TEST2":"00000",
"TEST3":"1",
"ALPHA":"DEF",
"BETA":"HELLO",
"CHARLIE":"ABC001"
},
{
"TEST1":"3",
"TEST2":"00000",
"TEST3":"1",
"ALPHA":"GHI",
"BETA":"HI",
"CHARLIE":"ABC002"
},
...
{
"TEST1":"7",
"TEST2":"00000",
"TEST3":"1",
"ALPHA":"STU",
"BETA":"BYE",
"CHARLIE":"ABC006"
}
}