Hacker News new | past | comments | ask | show | jobs | submit login

So that's not a problem in JSON. Why can't the library output nullptr?



nullptr isn't "null", it's a null POINTER. In languages with a NULL type, and variable can be a NULL. E.g., in python you can say "x = null; x = 1;" in C++ you cannot say "int i = nullptr".




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

Search: