md

md

  • NA
  • 2
  • 1k

Getting extra properties added automatically in the json res

Apr 4 2018 3:14 AM
  1. {  
  2. "Result": {  
  3. "Myexpectedoutput": [  
  4. {  
  5. "Name": {  
  6. "FirstName""Test123"  
  7. }  
  8. }  
  9. ]  
  10. },  
  11. "Id": 84,  
  12. "Exception"null,  
  13. "Status": 5,  
  14. "IsCanceled"false,  
  15. "IsCompleted"true,  
  16. "CreationOptions": 0,  
  17. "AsyncState"null,  
  18. "IsFaulted"false  
  19. }  
The properties Id, exception, status, IsCanceled, Iscompleted, CreationOptions, AsyncState, IsFaulted is getting added automatically
 
I dont want these extra properties to get added in the response. I just need the response that has only the properties that i have defined in my class