avro-0.6.2.1: test/Avro/Deconflict/Unions/Reader.hs
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE QuasiQuotes #-}
{-# LANGUAGE TemplateHaskell #-}
module Avro.Deconflict.Unions.Reader where
import Data.Avro.Deriving
deriveAvroFromByteString [r|
{
"type": "record",
"name": "Record",
"fields": [
{ "name": "name", "type": ["null", "string"], "default": null }
]
}
|]