3
Answers

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

Photo of David Smith

David Smith

3y
2.7k
1

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)