|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


Public Member Functions | |
| def | __init__ (self, serializer) |
| def | check (self, value) |
| def | to_json (self, value) |
| def | to_python (self, value) |
| def | tag (self, value) |
Data Fields | |
| serializer | |
Static Public Attributes | |
| key | |
Base class for defining type tags for :class:`TaggedJSONSerializer`.
| def __init__ | ( | self, | |
| serializer | |||
| ) |
Create a tagger for the given serializer.
| def check | ( | self, | |
| value | |||
| ) |
| def tag | ( | self, | |
| value | |||
| ) |
Convert the value to a valid JSON type and add the tag structure around it.
| def to_json | ( | self, | |
| value | |||
| ) |
| def to_python | ( | self, | |
| value | |||
| ) |
|
static |
| serializer |