parameters: (message, including_default_value_fields=False)
return_statement: return printer.ToJsonString(message)
docstring: Converts protobuf message to JSON format.
  
    Args:
      message: The protocol buffers message instance to serialize.
      including_default_value_fields: If True, singular primitive fields,
          repeated fields, and map fields will always be serialized.  If
          False, only serialize non-empty fields.  Singular message fields
          and oneof fields are not affected by this option.
  
    Returns:
      A string containing the JSON formatted protocol buffer message.
docstring_summary: Converts protobuf message to JSON format.
docstring_tokens: Converts protobuf message to JSON format .
function: def MessageToJson(message, including_default_value_fields=False):
    """Converts protobuf message to JSON format.
  
    Args:
      message: The protocol buffers message instance to serialize.
      including_default_value_fields: If True, singular primitive fields,
          repeated fields, and map fields will always be serialized.  If
          False, only serialize non-empty fields.  Singular message fields
          and oneof fields are not affected by this option.
  
    Returns:
      A string containing the JSON formatted protocol buffer message.
    """
    printer = _Printer(including_default_value_fields)
    return printer.ToJsonString(message)
function_tokens: def MessageToJson ( message , including_default_value_fields = False ) : printer = _Printer ( including_default_value_fields ) return printer . ToJsonString ( message )