VirtualTable Json
Posted: Tue 20 May 2014 15:30
Hi All,
Whit a Mobile App in Delphi, I read in a VirtualTable the result of a Rest Request.
I have a VirtualTable binded with a RestResponseDataAdapter.
I have this Json:
I'm not able to read the removable value.
From DB removalble is a boolean.
I have:
How can I read that value?
Thanks,
Flavio
Whit a Mobile App in Delphi, I read in a VirtualTable the result of a Rest Request.
I have a VirtualTable binded with a RestResponseDataAdapter.
I have this Json:
Code: Select all
{
"id":6,
"name":"something",
"quantity":"1.0",
"removable":true
}
From DB removalble is a boolean.
I have:
Code: Select all
MYVirtualTable.fieldbyname('removable').asstring = ''
MYVirtualTable.fieldbyname('removable').asboolean = False
MYVirtualTable.fieldbyname('removable').asinteger = Delphi exception
Thanks,
Flavio