|
|
|
|
|
by this_was_posted
20 days ago
|
|
Slightly off topic, but is anyone aware of a compile free method to convert protobuf messages to json representation based on a provided .proto file (and the other way around)? All protobuf implementations seem to require a compilation step, which makes it hard to support en-/decoding untrusted content using user provided schemas |
|
Here's how it looks to convert from encoded protobuf to json (protojson).
And just invert the arguments to convert back.