parameters: (json_entry)
return_statement: return entry_response
docstring: Convert a json array element to an EntryResponse.
docstring_summary: Convert a json array element to an EntryResponse.
docstring_tokens: Convert a json array element to an EntryResponse .
function: def _parse_entry(json_entry):
      """Convert a json array element to an EntryResponse."""
      entry_response = client_pb2.EntryResponse()
      try:
          entry_response.leaf_input = base64.b64decode(
              json_entry["leaf_input"])
          entry_response.extra_data = base64.b64decode(
              json_entry["extra_data"])
      except (TypeError, ValueError, KeyError) as e:
          raise InvalidResponseError("Invalid entry: %s\n%s" % (json_entry, e))
      return entry_response
function_tokens: def _parse_entry ( json_entry ) : entry_response = client_pb2 . EntryResponse ( ) try : entry_response . leaf_input = base64 . b64decode ( json_entry [ "leaf_input" ] ) entry_response . extra_data = base64 . b64decode ( json_entry [ "extra_data" ] ) except ( TypeError , ValueError , KeyError ) as e : raise InvalidResponseError ( "Invalid entry: %s\n%s" % ( json_entry , e ) ) return entry_response