MCPcopy Index your code
hub / github.com/eternnoir/pyTelegramBotAPI / de_json

Method de_json

telebot/types.py:2035–2038  ·  view source on GitHub ↗
(cls, json_string)

Source from the content-addressed store, hash-verified

2033 """
2034 @classmethod
2035 def de_json(cls, json_string):
2036 if json_string is None: return None
2037 obj = cls.check_json(json_string, dict_copy=False)
2038 return cls(**obj)
2039
2040 def __init__(self, value, emoji, **kwargs):
2041 self.value: int = value

Callers

nothing calls this directly

Calls 1

check_jsonMethod · 0.80

Tested by

no test coverage detected