def _ConvertMessage(value, message):
message_descriptor = message.DESCRIPTOR<EOL>full_name = message_descriptor.full_name<EOL>if _IsWrapperMessage(message_descriptor):<EOL><INDENT>_ConvertWrapperMessage(value, message)<EOL><DEDENT>elif full_name in _WKTJSONMETHODS:<EOL><INDENT>_WKTJSONMETHODS[full_name][<NUM_LIT:1>](value, message)<EOL><DEDENT>else:<EOL><INDENT>_ConvertFieldValuePair(value, message)<EOL><DEDENT>
Convert a JSON object into a message.

    Args:
      value: A JSON object.
      message: A WKT or regular protocol message to record the data.

    Raises:
      ParseError: In case of convert problems.