cabal-version: 1.12 -- This file has been generated from package.yaml by hpack version 0.33.0. -- -- see: https://github.com/sol/hpack -- -- hash: 1f3b5938078282c1d5d432d27afdc61b719195bd936f167412da2cc5cca230d3 name: json-autotype version: 3.1.1 synopsis: Automatic type declaration for JSON input data description: Generates datatype declarations with Aeson''s ''Data.Aeson.FromJSON'' . instances from a set of example @.json@ files. . . To get started you need to install the package, . and run @json-autotype@ binary on an input @.json@ file. . That will generate a new Aeson-based JSON parser. . . > $ json-autotype input.json -o JSONTypes.hs . . Feel free to tweak the by changing types of the fields . — any field type that is instance of ''Data.Aeson.FromJSON'' should work. . . You may immediately test the parser by calling it as a script: . . > $ runghc JSONTypes.hs input.json . . One can now use multiple input files to generate better type description. . . Now with Elm code generation support! . (If you want your favourite programming language supported too — . name your price and mail the author.) . . See introduction on for details.' . homepage: https://github.com/mgajda/json-autotype.git#readme license: BSD3 license-file: LICENSE stability: stable author: Michal J. Gajda maintainer: simons@cryp.to, mjgajda@gmail.com copyright: Copyright by Migamake '2014-'2020 category: Data, Tools build-type: Simple extra-source-files: README.md changelog.md examples/union.json examples/colors.json test/colors.json test/events.json test/interop.json test/jenkins.json test/youtube.json test/customerform.json test/facebook.json test/iPhoneMenu.json test/productsdb.json bug-reports: https://github.com/mgajda/json-autotype.git/issues tested-with: GHC==8.0.2 GHC==8.2.2 GHC==8.4.4 GHC==8.6.5 GHC==8.8.2 GHC==8.10.1 source-repository head type: git location: https://github.com/mgajda/json-autotype.git library exposed-modules: Data.Aeson.AutoType.CodeGen Data.Aeson.AutoType.Extract Data.Aeson.AutoType.Format Data.Aeson.AutoType.CodeGen.Haskell Data.Aeson.AutoType.CodeGen.HaskellFormat Data.Aeson.AutoType.CodeGen.Generic Data.Aeson.AutoType.CodeGen.Elm Data.Aeson.AutoType.CodeGen.ElmFormat Data.Aeson.AutoType.Pretty Data.Aeson.AutoType.Split Data.Aeson.AutoType.Type Data.Aeson.AutoType.Test Data.Aeson.AutoType.Util Data.Aeson.AutoType.Nested other-modules: Data.Aeson.AutoType.CodeGen.Common Data.Aeson.AutoType.Plugin.Subtype Paths_json_autotype hs-source-dirs: src other-extensions: TemplateHaskell ScopedTypeVariables OverloadedStrings FlexibleInstances MultiParamTypeClasses DeriveDataTypeable DeriveGeneric RecordWildCards build-depends: GenericPretty >=1.2 && <1.3 , QuickCheck >=2.4 && <3.0 , aeson >=1.2.1 && <1.5 , base >=4.9 && <5 , containers >=0.3 && <0.7 , data-default >=0.7 && <0.8 , filepath >=1.3 && <1.5 , hashable >=1.2 && <1.4 , json-alt , lens >=4.1 && <4.20 , mtl >=2.1 && <2.3 , pretty >=1.1 && <1.3 , process >=1.1 && <1.7 , run-haskell-module , scientific >=0.3 && <0.5 , smallcheck >=1.0 && <1.2 , template-haskell , text >=1.1 && <1.4 , uniplate >=1.6 && <1.7 , unordered-containers >=0.2 && <0.3 , vector >=0.9 && <0.13 default-language: Haskell2010 executable json-autotype main-is: GenerateJSONParser.hs hs-source-dirs: app common other-modules: CommonCLI Paths_json_autotype other-extensions: TemplateHaskell ScopedTypeVariables OverloadedStrings FlexibleInstances MultiParamTypeClasses DeriveDataTypeable DeriveGeneric RecordWildCards build-depends: GenericPretty >=1.2 && <1.3 , aeson >=1.2.1 && <1.5 , base >=4.9 && <5 , bytestring >=0.9 && <0.11 , containers >=0.3 && <0.7 , filepath >=1.3 && <1.5 , hashable >=1.2 && <1.4 , json-alt , json-autotype , lens >=4.1 && <4.20 , mtl >=2.1 && <2.3 , optparse-applicative >=0.12 && <1.0 , pretty >=1.1 && <1.3 , process >=1.1 && <1.7 , scientific >=0.3 && <0.5 , template-haskell , text >=1.1 && <1.4 , uniplate >=1.6 && <1.7 , unordered-containers >=0.2 && <0.3 , vector >=0.9 && <0.13 , yaml >=0.8 && <0.12 default-language: Haskell2010 test-suite json-autotype-examples type: exitcode-stdio-1.0 main-is: TestExamples.hs other-modules: CommonCLI Paths_json_autotype hs-source-dirs: test common other-extensions: TemplateHaskell ScopedTypeVariables OverloadedStrings FlexibleInstances MultiParamTypeClasses DeriveDataTypeable DeriveGeneric RecordWildCards build-depends: GenericPretty >=1.2 && <1.3 , QuickCheck >=2.4 && <3.0 , aeson >=1.2.1 && <1.5 , base >=4.9 && <5 , containers >=0.3 && <0.7 , directory >=1.1 && <1.4 , filepath >=1.3 && <1.5 , hashable >=1.2 && <1.4 , json-alt , json-autotype , lens >=4.1 && <4.20 , mtl >=2.1 && <2.3 , optparse-applicative >=0.11 && <1.0 , pretty >=1.1 && <1.3 , process >=1.1 && <1.7 , scientific >=0.3 && <0.5 , smallcheck >=1.0 && <1.2 , template-haskell , text >=1.1 && <1.4 , uniplate >=1.6 && <1.7 , unordered-containers >=0.2 && <0.3 , vector >=0.9 && <0.13 default-language: Haskell2010 test-suite json-autotype-gen-test type: exitcode-stdio-1.0 main-is: GenerateTestJSON.hs hs-source-dirs: test/gen common other-modules: CommonCLI Paths_json_autotype other-extensions: TemplateHaskell ScopedTypeVariables OverloadedStrings FlexibleInstances MultiParamTypeClasses DeriveDataTypeable DeriveGeneric RecordWildCards build-depends: GenericPretty >=1.2 && <1.3 , QuickCheck >=2.4 && <3.0 , aeson >=1.2.1 && <1.5 , base >=4.9 && <5 , bytestring >=0.9 && <0.11 , containers >=0.3 && <0.7 , directory >=1.1 && <1.4 , filepath >=1.3 && <1.5 , hashable >=1.2 && <1.4 , json-alt , json-autotype , lens >=4.1 && <4.20 , mtl >=2.1 && <2.3 , optparse-applicative >=0.12 && <1.0 , pretty >=1.1 && <1.3 , process >=1.1 && <1.7 , scientific >=0.3 && <0.5 , smallcheck >=1.0 && <1.2 , template-haskell , text >=1.1 && <1.4 , uniplate >=1.6 && <1.7 , unordered-containers >=0.2 && <0.3 , vector >=0.9 && <0.13 default-language: Haskell2010 test-suite json-autotype-qc-test type: exitcode-stdio-1.0 main-is: TestQC.hs other-modules: CommonCLI Paths_json_autotype hs-source-dirs: test/qc common other-extensions: TemplateHaskell ScopedTypeVariables OverloadedStrings FlexibleInstances MultiParamTypeClasses DeriveDataTypeable DeriveGeneric RecordWildCards build-depends: GenericPretty >=1.2 && <1.3 , QuickCheck >=2.4 && <3.0 , aeson >=1.2.1 && <1.5 , base >=4.9 && <5 , containers >=0.3 && <0.7 , filepath >=1.3 && <1.5 , hashable >=1.2 && <1.4 , json-alt , json-autotype , lens >=4.1 && <4.20 , mtl >=2.1 && <2.3 , optparse-applicative >=0.12 && <1.0 , pretty >=1.1 && <1.3 , process >=1.1 && <1.7 , scientific >=0.3 && <0.5 , smallcheck >=1.0 && <1.2 , template-haskell , text >=1.1 && <1.4 , uniplate >=1.6 && <1.7 , unordered-containers >=0.2 && <0.3 , vector >=0.9 && <0.13 default-language: Haskell2010