I am implementing a Web API that supports partial response.
/api/users?fields=id,name,age
Given the class User
[JsonObject(
Create your own IContractResolver to tell JSON.NET which properties need to be serialized. There's an example in official documentation you can take draw inspiration from.