0
iamnish created
hi
json result is wrapped inside "result" object .how I can change or rename that ex: original :- "result" : { name:"mike", } desired: "data":{[ name:"mike", ]} thanks
1 Answer(s)
-
0
Hi,
You can use [DontWrapResult] attribute for your method. Then you can return any object you want, it's directly returned to the client.