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

FWIW, JSONB supports JSON nulls, and all numbers are encoded as `numeric` type, storing integers and float64 values precisely (well, as much as possible for float64 values).

But you comment is correct for other data types like date-times and binary strings where some form of encoding/decoding is needed.



Yeah, I was misremembering. Our issues were related to NaNs, which we ended up encoding as nulls. I don't think we've had issues with dates yet.




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

Search: