json-autotype-3.1.1: Automatic type declaration for JSON input data
Safe HaskellNone
LanguageHaskell2010

Data.Aeson.AutoType.CodeGen.Haskell

Description

Wrappers for generating prologue and epilogue code in Haskell.

Synopsis

Documentation

writeHaskellModule :: FilePath -> Text -> HashMap Text Type -> IO () Source #

Write a Haskell module to an output file, or stdout if - filename is given.

defaultHaskellFilename :: FilePath Source #

Default output filname is used, when there is no explicit output file path, or it is "-" (stdout). Default module name is consistent with it.

importedModules :: [ModuleImport] Source #

List of modules to import

requiredPackages :: [Text] Source #

List of packages required by modules below. Keep and maintain together.

generateModuleImports :: [ModuleImport] -> Text Source #