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
Currently, the JSON module serializes both nothing and missing to null. However, if you know your target language is Javascript, a more appropriate target would convert nothing to undefined.
In a similar light, NaN doesn't have to be converted to null, it could just remain NaN. On the other hand, Julia's Inf would need to be converted to Javascript's equivalent, Infinity.
The text was updated successfully, but these errors were encountered:
Currently, the JSON module serializes both
nothing
andmissing
tonull
. However, if you know your target language is Javascript, a more appropriate target would convertnothing
toundefined
.In a similar light,
NaN
doesn't have to be converted tonull
, it could just remainNaN
. On the other hand, Julia'sInf
would need to be converted to Javascript's equivalent,Infinity
.The text was updated successfully, but these errors were encountered: