Just a simple question: is possible to create a webservice with JSON response, compatible, using Delphi XE7?

Just a simple question: is possible to create a webservice with JSON response, compatible, using Delphi XE7?

I am using TFDJSONDataSets but someone already told me to not use it. I just need a simple compatible JSON result, but I receive {"type":"Data.FireDACJSONReflect.TFDJSONDataSets","id":1,"fields".. as result... and the data such {"FData":"QURCUw4AtQ... 

When using a JSON output, result: [{"historico":"QURCUw4AAACGeAAA\/wABAAH\/Av8DBAAOAAAA

I can remove that "result" and [] after dig the web, but that not possible to the client to understand.

Comments