Hi all,
I am trying to find a tool that would let me generate Plain Old (Csharp|Python|Typescript) Objects that can serialise to a common json and supports inheritance or dynamic dispatch.
I would have used Protobuf but there is no support for inheritance and the typescript code doesn’t serialise to json.
There has to be a tool that translates a schema to multiple languages but I can’t find anything that satisfies all requirements out of the box.
Do I really have to roll my own?
I guess I was looking for an excuse to introduce rust in my new codebase...
I am trying to find a tool that would let me generate Plain Old (Csharp|Python|Typescript) Objects that can serialise to a common json and supports inheritance or dynamic dispatch.
I would have used Protobuf but there is no support for inheritance and the typescript code doesn’t serialise to json.
There has to be a tool that translates a schema to multiple languages but I can’t find anything that satisfies all requirements out of the box.
Do I really have to roll my own?
I guess I was looking for an excuse to introduce rust in my new codebase...