Expand description
§Protobuf “text format” implementation.
Text format message look like this:
size: 17
color: "red"
children {
size: 18
color: "blue"
}
children {
size: 19
color: "green"
}
This format is not specified, but it is implemented by all official
protobuf implementations, including protoc
command which can decode
and encode messages using text format.
§JSON
rust-protobuf also supports JSON printing and parsing.
It is implemented in
protobuf-json-mapping
crate.
Structs§
- Text format parse error.
Functions§
- Text-format to
fmt::Formatter
. - Parse text format message.
- Parse text format message.
- Text-format
- Text-format
- Text-format