VirtualTable Json

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
isysoftware
Posts: 44
Joined: Wed 14 Nov 2012 17:33

VirtualTable Json

Post by isysoftware » 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:

Code: Select all

    {
      "id":6,
      "name":"something",
      "quantity":"1.0",
      "removable":true
    }
I'm not able to read the removable value.
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
How can I read that value?

Thanks,
Flavio

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: VirtualTable Json

Post by AlexP » Fri 23 May 2014 09:17

Hello,

Currently, VirtualTable doesn't support Json format. We plan to implement such functionality in one of the next versions.

Post Reply