Ask Your Question
4

How can Protobuf be converted to Json without using quotation marks?

asked 2023-05-18 01:03:27 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-05-18 01:05:02 +0000

devzero gravatar image

It is not possible to convert Protobuf to JSON without using quotation marks as JSON is a text-based format that requires string values to be enclosed in quotation marks. However, there are some libraries and tools that can generate JSON with minimized quotation marks, which can reduce the size of the output file. One such tool is the protoc-gen-jsonpb plugin for the Protobuf compiler, which generates JSON output that uses minimal quoting for string values.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-18 01:03:27 +0000

Seen: 14 times

Last updated: May 18 '23