Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
test by daniel.shih
Environment version: 4.0.30319.42000
Json.NET version: Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed


Input JSON: 
{
  "PropertyA": null,
  "PropertyB": null,
  "PropertyC": null,
  "PropertyD": null,
  "SomeEnum": null,
  "PropertyNullable": null
}

Deserialized object using NullValueHandling.Ignore and CustomContractResolver; re-serialized with default settings: 
{
  "PropertyA": null,
  "PropertyB": 0,
  "PropertyC": false,
  "PropertyD": "0001-01-01T00:00:00",
  "SomeEnum": 0,
  "PropertyNullable": null
}

Deserialized object using NullValueHandling.Ignore and CustomContractResolver; re-serialized using NullValueHandling.Ignore and CustomContractResolver: 
{
  "PropertyB": 0,
  "PropertyC": false,
  "PropertyD": "0001-01-01T00:00:00",
  "SomeEnum": "Zero"
}
Cached Result
Last Run: 1:56:00 pm
Compile: 0.283s
Execute: 0.22s
Memory: 925.44kb
CPU: 0.266s