Hi!
When I make a new REST service in Datasnap (Delphi) i test it with from the web page from Embarcadero "Server Function Explorer". I get:
Executed: TServerMethods1.GetProjects
Result:
{"result":[{"ProjectID":"1","ProjectName":"Regional sale"},{"ProjectID":"2","ProjectName":"World wide sale"}]}
Perfect. A very simple Json Array with to lines of project info.
Then I make a new Tiggzi App with only one service. When I push the Test button it displays this:
{
"result": [
[
{
"ProjectID": "1",
"ProjectName": "Regional sale"
},
{
"ProjectID": "2",
"ProjectName": "World wide sale"
}
]
]
}
If you study the test result I get an ekstra bracket on line 3. Now Tiggzi is confused and when I populate the respond structure I get
Result
(Empty box)
ProjectID
ProjectName
I need help and I can't find a work around either. The service won't work event if I try to make the parameters manually.
Best regards
Ole Henrik Oftedal
Timeflex Systemer As
http://www.timeflex.com
http://www.timeflex.no