JSONDecoder
Simple JSON <http://json.org> decoder
The JSONDecoder class is accessible via the simple_json module.
Performs the following translations in decoding:
| JSON | Python |
|---|---|
| object | dict |
| array | list |
| string | unicode |
| number (int) | int, long |
| number (real) | float |
| true | True |
| false | False |
| null | None |
It also understands NaN, Infinity, and -Infinity as their corresponding float values, which is outside the JSON spec.
Methods
See the source for more information.