KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am currently working with ASP.NET web api where I return a Model object like following from my REST operation: Product with properties: Name, Id, Description, etc..... When this is converted to a JSON object, it outputs it with property names above. To cut down the payload returned from the web api operation, is there any way I can change the properties in the JSON object like for example Desc for Description . I could change the Model object but the property names would not make sense then!
Tags (comma-separated)
Save Edits
Cancel