Re: [capnproto] json serialization and deserilization

2022-09-18 Thread 'Kenton Varda' via Cap'n Proto
Hi Pavas, I guess you mean you'd like for your message to be encoded to a JSON array, rather than an object? The array would be ordered to match the field order? That's an interesting idea which you could implement with a custom JSON encoder, but the current provided JSON encoders do not have bui

[capnproto] json serialization and deserilization

2022-09-18 Thread pavas goyal
Hi, I was looking for a serializer that encodes my "json" message in such in way that the encoded message just contains the values for json object. I have a well defined schema so I don't need the keys in every encoded message. I'm using capnp (python wrapper for capnproto) and it seems that th