command line example
This commit is contained in:
parent
7895bb8d9b
commit
a614141425
1 changed files with 5 additions and 2 deletions
|
@ -2,8 +2,11 @@
|
|||
|
||||
This is an experimental pure Java implementation of Cap'n Proto.
|
||||
|
||||
It doesn't do much yet.
|
||||
To get started, try this:
|
||||
|
||||
```
|
||||
make
|
||||
$ make
|
||||
$ cd examples
|
||||
$ echo '(people = [(id = 123, name = "Alice", email = "alice@example.com", employment = (school = "MIT"))])' \
|
||||
| capnp encode addressbook.capnp AddressBook | java -cp .:.. AddressbookMain read
|
||||
```
|
Loading…
Reference in a new issue