Hacker News new | ask | show | jobs
by jobigoud 2146 days ago
So that's not a problem in JSON. Why can't the library output nullptr?
1 comments

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".