News for hackers. Stuff that matters.
Re:Elvish is a friendly interactive shell and an expressive ... by vlowther on Wednesday September 09, 2020 @03:54PM (#24425193)
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.
Re:Elvish is a friendly interactive shell and an expressive ... by xiaq on Wednesday September 09, 2020 @04:12PM (#24425377)
Yes, Elvish now has a dedicated number type, so conversation from JSON is now lossless.
Re:Elvish is a friendly interactive shell and an expressive ... by vlowther on Wednesday September 09, 2020 @06:53PM (#24426838)
Excellent -- nil handling work as well?
Re:Elvish is a friendly interactive shell and an expressive ... by xiaq on Wednesday September 09, 2020 @07:14PM (#24427043)
Yes, Elvish's $nil maps to JSON's null.