|
@@ -2118,7 +2118,7 @@ Var
|
|
D : TJSONData;
|
|
D : TJSONData;
|
|
|
|
|
|
begin
|
|
begin
|
|
- D:=Find(AName,jtBoolean);
|
|
|
|
|
|
+ D:=Find(AName,jtString);
|
|
If (D<>Nil) then
|
|
If (D<>Nil) then
|
|
Result:=D.AsString
|
|
Result:=D.AsString
|
|
else
|
|
else
|
|
@@ -2133,7 +2133,7 @@ Var
|
|
begin
|
|
begin
|
|
D:=Find(AName,jtArray);
|
|
D:=Find(AName,jtArray);
|
|
If (D<>Nil) then
|
|
If (D<>Nil) then
|
|
- Result:=D As TJSONArray
|
|
|
|
|
|
+ Result:=TJSONArray(D)
|
|
else
|
|
else
|
|
Result:=ADefault;
|
|
Result:=ADefault;
|
|
end;
|
|
end;
|
|
@@ -2146,7 +2146,7 @@ Var
|
|
begin
|
|
begin
|
|
D:=Find(AName,jtObject);
|
|
D:=Find(AName,jtObject);
|
|
If (D<>Nil) then
|
|
If (D<>Nil) then
|
|
- Result:=D as TJSONObject
|
|
|
|
|
|
+ Result:=TJSONObject(D)
|
|
else
|
|
else
|
|
Result:=ADefault;
|
|
Result:=ADefault;
|
|
end;
|
|
end;
|