3 ms·
Takeaway: Dont parse json. Every json parser is wrong. Json is not a standard. Parsing everything is NOT a minefield. We have BNF's parser theory etc for that.
by TeeWEE 10y ago
Takeaway: Dont parse json. Every json parser is wrong. Json is not a standard.
Parsing everything is NOT a minefield. We have BNF's parser theory etc for that. Lots of languages have clear unambigious definitions... Json clearly not. ITs a disgrace for the software engineering community.
- rhaps0dy 10y agoJSON does have a BNF definition. http://www.json.org/ http://www.json.org/