tokio-rs / prost

PROST! a Protocol Buffers implementation for the Rust Language
Apache License 2.0
3.69k stars 481 forks source link

Consistent JSON serialisation #1000

Closed rollo-b2c2 closed 2 months ago

rollo-b2c2 commented 4 months ago

I'm having some issues consistently converting Prost types to JSON.

Now, I know you can use serde to serialize these types with some build.rs magic, but the issue with serde serialisation is that it's not quite consistent with the canonical proto JSON serialisation.

caspermeijn commented 2 months ago

This seems to be a duplicate of #75. Please re-open is that is not correct.

Help is wanted for implementing JSON support.