parameters: (self, cred_entry)
return_statement: return (key, credential)
docstring: Load a credential from our JSON serialization.
  
      Args:
        cred_entry: A dict entry from the data member of our format
  
      Returns:
        (key, cred) where the key is the key tuple and the cred is the
          OAuth2Credential object.
docstring_summary: Load a credential from our JSON serialization.
docstring_tokens: Load a credential from our JSON serialization .
function: def _decode_credential_from_json(self, cred_entry):
      """Load a credential from our JSON serialization.
  
      Args:
        cred_entry: A dict entry from the data member of our format
  
      Returns:
        (key, cred) where the key is the key tuple and the cred is the
          OAuth2Credential object.
      """
      raw_key = cred_entry['key']
      client_id = raw_key['clientId']
      user_agent = raw_key['userAgent']
      scope = raw_key['scope']
      key = (client_id, user_agent, scope)
      credential = None
      credential = Credentials.new_from_json(simplejson.dumps(cred_entry['credential']))
      return (key, credential)
function_tokens: def _decode_credential_from_json ( self , cred_entry ) : raw_key = cred_entry [ 'key' ] client_id = raw_key [ 'clientId' ] user_agent = raw_key [ 'userAgent' ] scope = raw_key [ 'scope' ] key = ( client_id , user_agent , scope ) credential = None credential = Credentials . new_from_json ( simplejson . dumps ( cred_entry [ 'credential' ] ) ) return ( key , credential )