Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
langcss
· 2y ago · 0 comments
The Json serialisation and serialisation of undefined fields is a bug then? Since it changes the meaning.
Comments
[–]
mirekrusin
2y ago
Json doesn’t have notion of undefined value anywhere, only null and absence can be encoded.
[–]
the_gipsy
2y ago
No. JSON is a subset of JavaScript.