Hello,
I have this JSON:
{ id: 1, name: Silvio Clécio }
And my object is:
TPerson = class
private
FID: Int64;
FName: string;
published
property ID: Int64 read FID write FID;
property Name: string read FName write FName;
end;
But, FPJSONRTTI don't find the fields, except if I change my
On Thu, 24 Jan 2013, silvioprog wrote:
Hello,
I have this JSON:
{ id: 1, name: Silvio Clécio }
JSON is JavaScript and JavaScript *is* case sensitive.
But you can use TJSONObject.IndexOfName with CaseInsentive to True:
Function IndexOfName(const AName: TJSONStringType;