Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Hydra.Langs.Json.Serde
Synopsis
- aesonValueToBytes :: Value -> ByteString
- aesonValueToJsonValue :: Value -> Value
- bytesToAesonValue :: ByteString -> Either String Value
- bytesToJsonValue :: ByteString -> Either String Value
- jsonByteStringCoder :: Type -> Flow Graph (Coder Graph Graph Term ByteString)
- jsonStringCoder :: Type -> Flow Graph (Coder Graph Graph Term String)
- jsonValueToAesonValue :: Value -> Value
- jsonValueToBytes :: Value -> ByteString
- jsonValueToString :: Value -> String
- stringToJsonValue :: String -> Either String Value
Documentation
aesonValueToBytes :: Value -> ByteString Source #
aesonValueToJsonValue :: Value -> Value Source #
jsonStringCoder :: Type -> Flow Graph (Coder Graph Graph Term String) Source #
A convenience which maps typed terms to and from pretty-printed JSON strings, as opposed to JSON objects
jsonValueToAesonValue :: Value -> Value Source #
jsonValueToBytes :: Value -> ByteString Source #
jsonValueToString :: Value -> String Source #