Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- decodeAvro :: Schema -> ByteString -> Either String (Value Type)
- decodeContainer :: ByteString -> Either String (Schema, [[Value Type]])
- decodeContainerWith :: (Schema -> Get a) -> ByteString -> Either String (Schema, [[a]])
- getAvroOf :: Schema -> Get (Value Type)
- class GetAvro a where
Documentation
decodeAvro :: Schema -> ByteString -> Either String (Value Type) Source #
Decode bytes into a Value
as described by Schema.
decodeContainer :: ByteString -> Either String (Schema, [[Value Type]]) Source #
Lower level interface
decodeContainerWith :: (Schema -> Get a) -> ByteString -> Either String (Schema, [[a]]) Source #
class GetAvro a where Source #
Instances
GetAvro Bool Source # | |
GetAvro Double Source # | |
GetAvro Float Source # | |
GetAvro Int32 Source # | |
GetAvro Int64 Source # | |
GetAvro ByteString Source # | |
Defined in Data.Avro.Decode.Get getAvro :: Get ByteString Source # | |
GetAvro ByteString Source # | |
Defined in Data.Avro.Decode.Get getAvro :: Get ByteString Source # | |
GetAvro Text Source # | |
GetAvro String Source # | |
GetAvro ContainerHeader Source # | |
Defined in Data.Avro.Decode.Get | |
GetAvro a => GetAvro [a] Source # | |
Defined in Data.Avro.Decode.Get | |
GetAvro a => GetAvro (Maybe a) Source # | |
(GetAvro a, Ord a) => GetAvro (Set a) Source # | |
GetAvro a => GetAvro (Vector a) Source # | |
GetAvro ty => GetAvro (Map Text ty) Source # | |
GetAvro a => GetAvro (Array Int a) Source # | |