OpenQuizz
Une application de gestion des contenus pédagogiques
PassDict Class Reference
Inheritance diagram for PassDict:
Collaboration diagram for PassDict:

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
 

Member Function Documentation

◆ check()

def check (   self,
  value 
)
Check if the given value should be tagged by this tag.

Reimplemented from JSONTag.

◆ to_json()

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.

Field Documentation

◆ tag

tag
static

The documentation for this class was generated from the following file: