One more thing that really bugs me about JSON is that it doesn't support Infinity, -Infinity and NaN. Python's JSON library does, which leads to some interesting breakages.
Sure, for NaN you can use null, but for Infinity, you have to use really large/small numbers, which can also lead to other problems.
Sure, for NaN you can use null, but for Infinity, you have to use really large/small numbers, which can also lead to other problems.