class documentation

class TagDateTime(JSONTag):

View In Hierarchy

Undocumented

Method check Check if the given value should be tagged by this tag.
Method to​_json Convert the Python object to an object that is a valid JSON type. The tag will be added later.
Method to​_python Convert the JSON representation back to the correct type. The tag will already be removed.
Class Variable __slots__ Undocumented
Class Variable key Undocumented

Inherited from JSONTag:

Method tag Convert the value to a valid JSON type and add the tag structure around it.
Method __init__ Create a tagger for the given serializer.
Instance Variable serializer Undocumented
def check(self, value):
Check if the given value should be tagged by this tag.
Parameters
value:t.AnyUndocumented
Returns
boolUndocumented
def to_json(self, value):
Convert the Python object to an object that is a valid JSON type. The tag will be added later.
Parameters
value:t.AnyUndocumented
Returns
t.AnyUndocumented
def to_python(self, value):
Convert the JSON representation back to the correct type. The tag will already be removed.
Parameters
value:t.AnyUndocumented
Returns
t.AnyUndocumented
__slots__: tuple =

Undocumented

key: str =

Undocumented