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