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 }