C
cverbiest
Guest
I found out that read-json accepts /* */ style comments. see sample code I'm using oe11.3.2. Is this supported ? AFAIK there is no standard comment mechanism in json. See also http://stackoverflow.com/questions/244777/can-i-comment-a-json-file Sample code define temp-table tRow no-undo field RowName as character field RowValue as character field RowCount as integer . define variable lchar as longchar no-undo initial ' ~{"tRow":[ ~{"RowName":"first","RowValue":"string","RowCount":"1"~}, ~{"RowName":"second",/*"RowValue":"in comment",*/"RowCount":"2"~}, /* ~{"RowName":"third","RowValue":"string","RowCount":"3"~}, */ ~{"RowName":"fourth","RowValue":"fit the","RowCount":"4"~}, ]~} '. temp-table tRow:read-json("longchar", lchar). for each tRow: disp tRow. end.
Continue reading...
Continue reading...