6 ms·
I read that comments were forbidden in json because some json generators/parsers started putting data about how to interpret them in comments, fracturing the st
by jimbobthrowawy 2y ago
I read that comments were forbidden in json because some json generators/parsers started putting data about how to interpret them in comments, fracturing the standard.
Loading json as javascript also led to seemingly odd patterns, like putting an infinite loop before the start of a json payload to prevent injected javascript stealing data.