David Smith

David Smith

  • NA
  • 2k
  • 0

DeSerialize NaN values into JSON using System.Text.Json.Serialization

Feb 28 2022 2:08 AM

I Need to convert NaN in Json(as it is not JSON) to Double using using System.Text.Json.Serialization;.

For example, I am having following JSON:

{ "Amount": NaN }


Answers (3)