Hello,

We plan on using Cap'n Proto for inter-process communication and it seems 
to be a great fit. However, we also make some requests over JSON to our 
cloud endpoints and we are interested in using JsonCodec to convert a 
message to JSON right before sending it. All JSON requests expect 
snake_case field names, but by default, JsonCodec encodes a JSON with 
camelCase names. I know protobuf has a 'preserve_proto_field_names' option 
for their JSON conversion, but I couldn't find anything similar for Cap'n 
Proto.

Is there a simple way of doing that? Can you maybe give me some hints of 
how I can patch Cap'n Proto myself?

Thanks,
Iulian

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/capnproto.

Reply via email to