(self, key)
Get the value a key stored.

        Args:
            key(str): The key string requested.

        Returns:
            The value of the key or *None* if it cannot be found.
Get the value a key stored.
Get the value a key stored .
def get(self, key):
        """Get the value a key stored.

        Args:
            key(str): The key string requested.

        Returns:
            The value of the key or *None* if it cannot be found.

        """
        try:
            with open(self.filename, "r") as json_file:
                json_data = json.load(json_file)
        except EnvironmentError:
            json_data = {}

        if key in json_data:
            return json_data[key]
        else:
            return None
def get ( self , key ) : try : with open ( self . filename , "r" ) as json_file : json_data = json . load ( json_file ) except EnvironmentError : json_data = { } if key in json_data : return json_data [ key ] else : return None