Height = 89
Lines.Strings = (
#22806#35251#12434#22793#26356
- ' --------------------'
'TJSONArray '#12395#23550#24540#12375#12414#12375#12383' '
' --------------------'
#21021#20844#38283)
Left = 200
Top = 88
Bitmap = {
- 494C010104000800480010001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
+ 494C010104000800580010001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
0000000000003600000028000000400000002000000001002000000000000020
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
Vcl.ImgList, JSON, Vcl.Menus, Vcl.StdActns, System.Actions, Vcl.ActnList;
type
- TIndxChar = (chMul, chPlus, chMin, chEqu);
+ TIndxChar = (chMul, chPlus, chYen, chDollar, chSharp, chAnd, chPercent);
TForm1 = class(TForm)
Memo1: TMemo;
s: string;
val: TJSONValue;
i: integer;
+ c: Char;
begin
+ c := returnChar(id);
+ if id = High(id) then
+ id := Low(id)
+ else
+ id := Succ(id);
for i := 0 to arr.count - 1 do
begin
val := arr.Items[i];
arrloop(item, val as TJSONArray)
else
begin
- s := '_' + arr.Items[i].ToString;
+ s := c + '_' + arr.Items[i].ToString;
TreeView1.Items.AddChild(item, s);
end;
end;
result := '*';
chPlus:
result := '+';
- chMin:
- result := '-';
- chEqu:
- result := '=';
+ chYen:
+ result := '\';
+ chDollar:
+ result := '$';
+ chSharp:
+ result := '#';
+ chAnd:
+ result := '&';
+ chPercent:
+ result := '%';
end;
end;