---
title: "Discussion on \"protobuf-to-dict 遷移到 protobuf3-to-dict\" | Hashnode"
description: "Discussion on \"protobuf-to-dict 遷移到 protobuf3-to-dict\". 簡介\nprotobuf_to_dict 和 protobuf3_to_dict 提供了 protobuf instance 和 dict 之間的轉換函數。\n在有些服務裡，新的版本的 protocol 會用到新的 protobuf 的東西，例如：google.protobuf.Value， 這時，protobuf_to_dict 會壞掉，所以會需要遷移到 protobuf3_to_dict，但為了能"
url: "https://hashnode.com/posts/protobuf-to-dict-protobuf3-to-dict/624810cc4b4dde0dc0be6609"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [protobuf-to-dict 遷移到 protobuf3-to-dict](https://notes.mukyu.dev/protobuf-to-dict-protobuf3-to-dict?utm_source=hashnode&utm_medium=feed)

簡介 protobuf\_to\_dict 和 protobuf3\_to\_dict 提供了 protobuf instance 和 dict 之間的轉換函數。 在有些服務裡，新的版本的 protocol 會用到新的 protobuf 的東西，例如：google.protobuf.Value， 這時，protobuf\_to\_dict 會壞掉，所以會需要遷移到 protobuf3\_to\_dict，但為了能

Apr 24, 2021 · 2 min read · notes.mukyu.dev  
Updated Oct 27  
Read the article

-   [#python](https://hashnode.com/tag/python)

## Written by

[Patchouli](https://hashnode.com/@mudream4869)

@mudream4869 · Uohout

  
[View profile](https://hashnode.com/@mudream4869)

工程師帕秋莉~

後端工程師。 不定時張貼一些寫扣時的筆記，有時英文，有時中文。 「如果，我是魔女的話...」

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
