Hacker News new | ask | show | jobs
by vlowther 2108 days ago
Eh, last time I messed with I lost interest after noting that from-json | to-json would silently convert all numbers into quoted strings and do terrible things when nil was involved. It made non-trivial JSON manipulation not worth it. They might have fixed it by now.
1 comments

Yes, Elvish now has a dedicated number type, so conversation from JSON is now lossless.
Excellent -- nil handling work as well?
Yes, Elvish's $nil maps to JSON's null.