mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 06:08:16 +02:00
fcl-json: less hints
git-svn-id: trunk@41480 -
This commit is contained in:
parent
45a5a1d9bf
commit
7354b2c2e5
@ -3171,10 +3171,10 @@ begin
|
||||
{$else}
|
||||
With Elements[i] do
|
||||
Case VType of
|
||||
vtChar : AName:=VChar;
|
||||
vtString : AName:=vString^;
|
||||
vtChar : AName:=TJSONUnicodeStringType(VChar);
|
||||
vtString : AName:=TJSONUnicodeStringType(vString^);
|
||||
vtAnsiString : AName:=UTF8Decode(StrPas(VPChar));
|
||||
vtPChar : AName:=StrPas(VPChar);
|
||||
vtPChar : AName:=TJSONUnicodeStringType(StrPas(VPChar));
|
||||
else
|
||||
DoError(SErrNameMustBeString,[I+1]);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user