cborg-json-0.2.5.0: A library for encoding JSON as CBOR
Safe HaskellSafe-Inferred
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.