Registry / serialization / protobuf-json-mapping

protobuf-json-mapping

JSON →
library3.7.2rscratesunverified

JSON mapping for Protocol Buffers messages.

# Cargo.toml [dependencies] protobuf-json-mapping = "3.7.2"
INSTALL
IMPORT
SIG · PROTOBUF-JSON-MAPP
P
protobuf-json-mapping
serializationrustv3.7.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

parse_from_str
use protobuf_json_mapping::parse_from_str;

Parses a JSON string into a protobuf message.

use protobuf_json_mapping::parse_from_str; use protobuf::Message; let json = r#"{"field": 42}"#; let msg: MyMessage = parse_from_str(json).unwrap();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.7.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Amazon
1
Resources
protobuf-json-mapping — cargo add protobuf-json-mapping · libregistry