Generate code to support JSON serializing/deserializing as well?
See original GitHub issueIn my company, we want to use wire-generated java code to support json deserialization by adding extra jackson annotations (like @JsonCreator
, @JsonProperty
and so on) so we made some changes in the wire’s code. I want to check if this is something that wire wants to support because it’s such a common use case that protobuf is introduced later into an json-driven legacy system. If yes I can clean up the code a bit to perhaps add an extra flag like --support-json
for that functionality and make a pull request. Thanks.
Issue Analytics
- State:
- Created 8 years ago
- Comments:17 (7 by maintainers)
Top Results From Across the Web
How to serialize and deserialize JSON using C# - .NET
How to read JSON as .NET objects (deserialize) · Copy the JSON that you need to deserialize. · Create a class file and...
Read more >40% faster JSON serialization with Source Generators in .NET 6
Become a Patreon and get source code access: https://www.patreon.com/nickchapsasCheck out my courses: https://nickchapsas.
Read more >Automatic, well-typed JSON serialization in Reason/OCaml ...
Milk 🥛 is a new tool I developed that generates serialization and deserialization code for your Reason/OCaml types, including types from ...
Read more >JSON and serialization - Flutter documentation
JSON serialization with code generation means having an external library generate the encoding boilerplate for you. After some initial setup, you run a...
Read more >Serialization and Deserialization in C# - Code Maze
Between client and server via REST APIs or GRPC · Over the network for messaging systems like Kafka or RabbitMQ · Through firewalls...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
+1 to extensibility over including directly. Ideally, I could create a MessageWriter of my own, that generates pojo’s how I would like, including the proto bits (or not for that matter).
It is intended to be looked at, though, and we value code that looks like it was written by a person.
On Wed, Feb 14, 2018 at 5:11 PM Shadow Man notifications@github.com wrote: