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
Hi,
thanks for your interest in jason.
In order to let people decide the value for 'null', I would prefere an option {null, ...} where right value is expected value.
In your case {null, undefined} .
But to avoid unexpected behavior, the default must stay like current behavior.
I would propose a new option to allow decoding
null
(or absent field in case of mode=record) asundefined
, so:undefined
as an empty valueundefined -> null -> undefined
with option null_as_undefined=true
Example 1:
Example 2:
Example 3:
Is a PR acceptable?
The text was updated successfully, but these errors were encountered: