Proofread changes to docs/serialization.txt from [3795]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
8920f65acd
commit
f32318be98
|
@ -96,15 +96,15 @@ Django "ships" with a few included serializers:
|
||||||
.. _json: http://json.org/
|
.. _json: http://json.org/
|
||||||
.. _simplejson: http://undefined.org/python/#simplejson
|
.. _simplejson: http://undefined.org/python/#simplejson
|
||||||
|
|
||||||
Notes For Specific Serialization Formats
|
Notes for specific serialization formats
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
|
||||||
json
|
json
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
If you are using UTF-8 (or any other non-ASCII encoding) data with the JSON
|
If you're using UTF-8 (or any other non-ASCII encoding) data with the JSON
|
||||||
serializer, you must pass ``ensure_ascii=False`` as a parameter to the
|
serializer, you must pass ``ensure_ascii=False`` as a parameter to the
|
||||||
``serialize()`` call. Otherwise the output will not be encoded correctly.
|
``serialize()`` call. Otherwise, the output won't be encoded correctly.
|
||||||
|
|
||||||
For example::
|
For example::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue