djangoflash.codec.json_impl — JSON-based codec implementation
This module provides a JSON-based codec implementation.
-
class djangoflash.codec.json_impl.CodecClass
Bases: djangoflash.codec.BaseCodec
JSON-based codec implementation.
-
decode(encoded_flash)
- Restores the flash from the given JSON string.
-
encode(flash)
- Encodes the given flash as a JSON string.