Simple program to load from file and call JsonCodec.encode

16 views
Skip to first unread message

Adam

unread,
Jul 2, 2021, 10:40:32 AMJul 2
to Cap'n Proto
Hi, I'm new to C++ and having trouble getting started. I would like to write a simple program to load from a capnp binary file and encode to JSON via JsonCodec.encode.

Does anyone have a code snippet to do this? I can't find any relevant samples.

Thank you.
Reply all
Reply to author
Forward
0 new messages