Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>For example, if we have two integers and a float as values for the same JSON path a, we don’t want to store all three as float values on disk

Well, if you want to do things exactly how JS does it, then storing them all as float is correct. However, The JSON standard doesn't say it needs to be done the same way as JS.



The new Variant type exists independently of JSON support, so it seems good that they handle it properly.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: