• Kenton Varda's avatar
    Add new `capnp convert` command with JSON support. · c4c5e404
    Kenton Varda authored
    This supersedes the `capnp encode` and `capnp decode` commands. It didn't make sense to add JSON to those commands since it was unclear if JSON should be thought of as the "encoded" or "decoded" format. `convert` allows mapping anything to anything.
    
    This command is also useful for, say, converting unpacked format to packed format or vice versa, which can now be done without a schema.
    c4c5e404
Name
Last commit
Last update
..
json-test.c++ Loading commit data...
json.c++ Loading commit data...
json.capnp Loading commit data...
json.capnp.c++ Loading commit data...
json.capnp.h Loading commit data...
json.h Loading commit data...