Serialization

Definition

A number of general-purpose serialization formats exist that can represent complex data structures in an easily stored format, and these are often used as a basis for configuration files, particularly in open-source and platform-neutral software applications and libraries. The specifications describing these formats are routinely made available to the public, thus increasing the availability of parsers and emitters across programming languages. Examples include: XML, YAML and JSON.

This project is ultra-lite, and is focused solely on JSON; this was a deliberate design decision. For anyone interested in working with the other formats check out the dynaconf project.

Python Data Type Conversions

The JSON decoder performs the following translations:

Python JSON
dict object
list array
str string
int number (int)
float number (real)
True true
False false
None null

Want to Learn More about Serialization?

Here are some additional resources: