You are not logged in.
Pages: 1
my app return :
{"result":[{"success":true,"rows":[{"CODIGO":"00001","NOME":"JOSE"}],"total":2}]}
I would like the result to be;
{"success":true,"rows":[{"CODIGO":"00001","NOME":"JOSE"}],"total":2}
I published the method:
Result := ObjectToJson(ExtjsObject, []);
it is possible to remove?
sorry I'm starting at mormot
cido
Offline
You can use the TServiceCustomAnswer record type as the result of an interface function, so that you can return directly whatever content you need, including raw JSON.
Offline
Pages: 1