cborg-json-0.2.1.0: A library for encoding JSON as CBOR
Codec.CBOR.JSON
encodeValue :: Value -> Encoding Source #
Encode a JSON value into CBOR.
decodeValue :: Bool -> Decoder s Value Source #
Decode an arbitrary CBOR value into JSON.