You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On second thought this might be a backfire for scientific applications: they can't use JSON for RPC and storage simply because we won't emit/parse NaN and +-Inf.
Maybe we should use an option for it?
Edit: to support usage mentioned above, we need parsing support as well.
Example to reproduce:
Some other programming languages:
JSON.stringify(NaN)
null
json.dumps(float('nan'))
NaN
puts(json_object_to_json_string(json_object_new_double(NAN)))
NaN
serde_json::Value::Number(serde_json::Number::from_f64(f64::NAN).unwrap())
The text was updated successfully, but these errors were encountered: