code: def __get_value_from_data(self, key, data):
          
          if key.isdigit():
              return data[int(key)]
  
          if key not in data:
              raise KeyError("Key not exists")
  
          return data.get(key)
docs: Find value from json data
  
          :@pram key
          :@type: string
  
          :@pram data
          :@type data: dict
  
          :@return object
          :@throws KeyError