cborg-json-0.2.0.0: A library for encoding JSON as CBOR

Safe HaskellNone
LanguageHaskell2010

Codec.CBOR.JSON

Synopsis

Documentation

encodeValue :: Value -> Encoding Source #

Encode a JSON value into CBOR.

decodeValue :: Bool -> Decoder s Value Source #

Decode an arbitrary CBOR value into JSON.