2 ms·
"it certainly owes its popularity mostly to the browser environment" I don't think that's a given. JSON is useful because it provides a clear, compact syntax f
by simonw 16y ago
"it certainly owes its popularity mostly to the browser environment"
I don't think that's a given. JSON is useful because it provides a clear, compact syntax for the most commonly useful data structures - lists, dicts, strings, numbers and booleans. That's certainly why I switched to it over XML (and serialised PHP objects).