【发布时间】:2021-09-26 23:09:55
【问题描述】:
我想将 .proto 文件转换为 JSON 描述符。
.proto 文件是这样的: https://github.com/protobufjs/protobuf.js/blob/master/google/protobuf/type.proto
JSON 描述符是这样的: https://github.com/protobufjs/protobuf.js/blob/master/google/protobuf/type.json
我想在 bigquery udf 上使用 protobuf 和使用 bq-udf-protobuf 的原因。 https://github.com/salrashid123/bq-udf-protobuf 所以,我想我需要为我的 SQL 准备像 JSON 描述符这样的句子。
【问题讨论】:
标签: javascript protocol-buffers protobuf.js bigquery-udf