dhunter/core/file_hash.py
def from_json(self, json_string: str) -> None:
        """Populates instance of FileHash with data from JSON object string.
        """

        tmp = json.loads(json_string)
        for field in self._json_keys:
            self.__setattr__(field, tmp.get(field))

        self.hash_time_seconds = 0
Populates instance of FileHash with data from JSON object string.
        
Populates instance of FileHash with data from JSON object string.
Populates instance of FileHash with data from JSON object string .
def from_json(self, json_string: str) -> None:
        tmp = json.loads(json_string)
        for field in self._json_keys:
            self.__setattr__(field, tmp.get(field))
        self.hash_time_seconds = 0
def from_json ( self , json_string : str ) -> None : tmp = json . loads ( json_string ) for field in self . _json_keys : self . __setattr__ ( field , tmp . get ( field ) ) self . hash_time_seconds = 0
Populates instance of FileHash with data from JSON object string.
Populates instance of FileHash with data from JSON object string .
"""Populates instance of FileHash with data from JSON object string.
        """
self
json_string
str