برای پارس کردن ارایه در دلفی که نام ندارد از روش زیر میشود استفاده کرد
program Project1;
{$APPTYPE CONSOLE}{$R *.res}usesSystem.SysUtils, dbxjson;const JSON_DATA = '{"ArrayData":['+'{"DAT_INCL":"07/03/2012 17:33:03", "NUM_ORDE":1,"NUM_ATND":1, "NUM_ACAO":2, "NUM_RESU":3},'+'{"DAT_INCL":"07/03/2012 17:33:05", "NUM_ORDE":2,"NUM_ATND":1, "NUM_ACAO":4, "NUM_RESU":5},'+'{"DAT_INCL":"07/03/2012 17:33:05", "NUM_ORDE":3,"NUM_ATND":1, "NUM_ACAO":8, "NUM_RESU":null}'+']}';var jsv : TJsonValue;originalObject : TJsonObject;jsPair : TJsonPair;jsArr : TJsonArray;jso : TJsonObject;i : integer;begintry//parse json stringjsv := TJSONObject.ParseJSONValue(JSON_DATA);try//value as objectoriginalObject := jsv as TJsonObject;//get pair, wich contains Array of objectsjspair := originalObject.Get('ArrayData');//pair value as arrayjsArr := jsPair.jsonValue as TJsonArray;writeln('array size: ', jsArr.Size);//enumerate objects in arrayfor i := 0 to jsArr.Size - 1 do beginwriteln('element ', i);// i-th objectjso := jsArr.Get(i) as TJsonObject;//enumerate object fieldsfor jsPair in jso do beginwriteln(' ', jsPair.JsonString.Value, ': ', jsPair.JsonValue.Value);end;end;finallyjsv.Free();readln;end;excepton E: Exception doWriteln(E.ClassName, ': ', E.Message);end;end.