I have started a custom class like follows:
CLASS Cask:
DEFINE PUBLIC PROPERTY iCaskno AS INTEGER
GET.
SET.
CONSTRUCTOR PUBLIC Cask(INPUT ipCaskno AS INTEGER):
iCaskno = ipCaskno.
END CONSTRUCTOR.
END CLASS.
and i want to be able to create a JSON array with several Cask objects. I suspect the solution would be to turn the Cask objects into JSON objects somehow, but i cannot find any documentation for the best way to do this.
Thanks
I have started a custom class like follows:
CLASS Cask:
DEFINE PUBLIC PROPERTY iCaskno AS INTEGER
GET.
SET.
CONSTRUCTOR PUBLIC Cask(INPUT ipCaskno AS INTEGER):
iCaskno = ipCaskno.
END CONSTRUCTOR.
END CLASS.
and i want to be able to create a JSON array with several Cask objects. I suspect the solution would be to turn the Cask objects into JSON objects somehow, but i cannot find any documentation for the best way to do this.
Thanks
Flag this post as spam/abuse.