Crate protobuf_json_mapping

Source
Expand description

JSON printer and parser which tries to follow protobuf conventions.

Structs§

ParseError
JSON parse error
ParseOptions
JSON parse options.
PrintError
Print to JSON error.
PrintOptions
Options for printing JSON to string

Functions§

merge_from_str
Merge JSON into provided message
merge_from_str_with_options
Merge JSON into provided message
parse_dyn_from_str
Parse JSON to protobuf message.
parse_dyn_from_str_with_options
Parse JSON to protobuf message.
parse_from_str
Parse JSON to protobuf message.
parse_from_str_with_options
Parse JSON to protobuf message.
print_to_string
Serialize message to JSON according to protobuf specification.
print_to_string_with_options
Serialize message to JSON according to protobuf specification.