OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | check (self, value) |
def | to_json (self, value) |
def | to_python (self, value) |
![]() | |
def | __init__ (self, serializer) |
def | tag (self, value) |
Static Public Attributes | |
key | |
![]() | |
key | |
Additional Inherited Members | |
![]() | |
serializer | |
Serialize anything matching the :class:`~flask.Markup` API by having a ``__html__`` method to the result of that method. Always deserializes to an instance of :class:`~flask.Markup`.
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.
def to_python | ( | self, | |
value | |||
) |
Convert the JSON representation back to the correct type. The tag will already be removed.
Reimplemented from JSONTag.
|
static |