| Home | Trees | Indices | Help |
|
|---|
|
|
Using simplejson from the shell to validate and pretty-print:
$ echo '{"json":"obj"}' | python -msimplejson
{
"json": "obj"
}
$ echo '{ 1.2:3.4}' | python -msimplejson
Expecting property name: line 1 column 2 (char 2)
Note that the JSON produced by this module's default settings is a subset of YAML, so it may be used as a serializer for that as well.
|
|||
|
|||
Imports: django
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sat Aug 30 08:41:44 2008 | http://epydoc.sourceforge.net |