Hacker News new | ask | show | jobs
by Thorrez 604 days ago
>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.

1 comments

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