• 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
pretty.json 4.97 KB