title: Excluding enum properties with default values in json response
body: <p>I have a model for my api response which has a property of type enum. The enum property gets populated in only some scenarios rest of the scenario it gets the default value of 0</p>
  
  <p>output
  {
      <br>prop1: "ABCD"
  <br>    prop2: 0 //// this is enum property defaulting to zero
  <br>}</p>
  
  <p>I tried using the custom jsonconverter but this does not really solve the problem as I can only assign a string value to it. <br> <strong>How can i exclude the enum property from the response if it has the default value.</strong></p>