Base solution for your next web application
Open Closed

json structure #1059


User avatar
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)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    You can use [DontWrapResult] attribute for your method. Then you can return any object you want, it's directly returned to the client.