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


Public Member Functions | |
| def | check (self, value) |
| def | to_json (self, value) |
Public Member Functions inherited from JSONTag | |
| def | __init__ (self, serializer) |
| def | to_python (self, value) |
| def | tag (self, value) |
Static Public Attributes | |
| tag | |
Static Public Attributes inherited from JSONTag | |
| key | |
Additional Inherited Members | |
Data Fields inherited from JSONTag | |
| serializer | |
| def check | ( | self, | |
| value | |||
| ) |
Check if the given value should be tagged by this tag.
Reimplemented from JSONTag.
| def to_json | ( | self, | |
| value | |||
| ) |
Convert the Python object to an object that is a valid JSON type. The tag will be added later.
Reimplemented from JSONTag.
|
static |