Adding a very simple version of hs (hex string).
parent
4aebd53ef5
commit
0408d94fdc
|
@ -17,3 +17,11 @@ cq ".people.alice.age" < file.cbor
|
||||||
json-to-cbor < file.json > file.cbor
|
json-to-cbor < file.json > file.cbor
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# hs usage
|
||||||
|
|
||||||
|
`hs` stands for `hexstring`.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
hs < file.cbor
|
||||||
|
```
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,8 @@ targets:
|
||||||
main: src/cq.cr
|
main: src/cq.cr
|
||||||
json-to-cbor:
|
json-to-cbor:
|
||||||
main: src/json-to-cbor.cr
|
main: src/json-to-cbor.cr
|
||||||
|
hs:
|
||||||
|
main: src/hs.cr
|
||||||
bm-json-vs-cbor:
|
bm-json-vs-cbor:
|
||||||
main: tests/json-vs-cbor.cr
|
main: tests/json-vs-cbor.cr
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue