News for hackers. Stuff that matters.
Re:Schemastore.org – schemas for all commonly known JSON fil... by recursive on Wednesday July 29, 2020 @05:00PM (#23991551)
JSON has null. https://www.json.org/json-en.html

The main thing I miss is dates.

Re:Schemastore.org – schemas for all commonly known JSON fil... by staycoolboy on Wednesday July 29, 2020 @05:41PM (#23991886)
Yes, it has null, but when you parse it with, say, Boost::property_tree, null is 0, which is not true null because there is no true null in C++. Language limitation.

Cool link, btw. For all the years I've been using JSON I never visited the main page!

Re:Schemastore.org – schemas for all commonly known JSON fil... by jobigoud on Thursday July 30, 2020 @04:10AM (#23995764)
So that's not a problem in JSON. Why can't the library output nullptr?
Re:Schemastore.org – schemas for all commonly known JSON fil... by staycoolboy on Thursday July 30, 2020 @12:56PM (#24000402)
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".
Re:Schemastore.org – schemas for all commonly known JSON fil... by visarga on Thursday July 30, 2020 @02:01AM (#23995133)
comments would be nice