cborg
cborg copied to clipboard
Adds support for ByteStrings in inside JSON
I am implementing WebAuthn authentication. Chrome browser returns part of data encoded in CBOR and uses 58/59 bytes (fixed byte string with length up to 255/65535 bytes) to encode key.
I think exposing such type as a hex string in JSON is best option. Aeson.Array Number is much less efficient.
- extra dependency on base16
@phadej
I don't understand why I'm pinged here.
I was looking for reviewers and found you among previous ones.
That's the way I ended up "maintaining" plenty of stuff :)
CI is green except on gch 7.8.4 because store package dropped 7.8.4 support
9883f44 - Remove configuration for building with ghc-7.8 (4 months ago) (Michael Sloan)
could store
maintainers correct the metadata then: https://matrix.hackage.haskell.org/#/package/store, there shouldn't be red cells.
Please, let's not workaround others' bugs (which are easily fixable). There is no hurry.
PR CI is green, thanks to store team efforts. https://github.com/mgsloan/store/issues/157