diff options
| author | Jason Pellerin <jpellerin@gmail.com> | 2006-07-03 14:23:39 +0000 |
|---|---|---|
| committer | Jason Pellerin <jpellerin@gmail.com> | 2006-07-03 14:23:39 +0000 |
| commit | 1c6199dc8778bc35e55d9c081ca4110448b18f0d (patch) | |
| tree | 6cda46d196c1eaa144ba08288ffe6e77a6a505dd /docs/serialization.txt | |
| parent | 4190c9e16f59a944625829015b53bf023ee44520 (diff) | |
[multi-db] Merge trunk to [3257]
git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/serialization.txt')
| -rw-r--r-- | docs/serialization.txt | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/docs/serialization.txt b/docs/serialization.txt index 41954b7a0d..25199e7a50 100644 --- a/docs/serialization.txt +++ b/docs/serialization.txt @@ -78,8 +78,25 @@ The Django object itself can be inspected as ``deserialized_object.object``. Serialization formats --------------------- -Django "ships" with a few included serializers, and there's a simple API for creating and registering your own... +Django "ships" with a few included serializers: -.. note:: + ========== ============================================================== + Identifier Information + ========== ============================================================== + ``xml`` Serializes to and from a simple XML dialect. + + ``json`` Serializes to and from JSON_ (using a version of simplejson_ + bundled with Django). + + ``python`` Translates to and from "simple" Python objects (lists, dicts, + strings, etc.). Not really all that useful on its own, but + used as a base for other serializers. + ========== ============================================================== + +.. _json: http://json.org/ +.. _simplejson: http://undefined.org/python/#simplejson + +Writing custom serializers +`````````````````````````` - ... which will be documented once the API is stable :) +XXX ... |
