/
aeson-schemas.cabal
170 lines (164 loc) · 5.12 KB
/
aeson-schemas.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
cabal-version: >= 1.10
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
name: aeson-schemas
version: 1.4.2.1
synopsis: Easily consume JSON data on-demand with type-safety
description: Parse JSON data easily and safely without defining new data types. Useful
for deeply nested JSON data, which is difficult to parse using the default
FromJSON instances.
category: JSON
homepage: https://github.com/brandonchinn178/aeson-schemas#readme
bug-reports: https://github.com/brandonchinn178/aeson-schemas/issues
author: Brandon Chinn <brandonchinn178@gmail.com>
maintainer: Brandon Chinn <brandonchinn178@gmail.com>
license: BSD3
license-file: LICENSE.md
build-type: Simple
extra-source-files:
README.md
CHANGELOG.md
examples/input.json
test/goldens/fromjson_error_messages_truncate.golden
test/goldens/fromjson_list_inner_invalid.golden
test/goldens/fromjson_list_invalid.golden
test/goldens/fromjson_maybe_invalid.golden
test/goldens/fromjson_nested_inner_invalid.golden
test/goldens/fromjson_nested_invalid.golden
test/goldens/fromjson_object_invalid.golden
test/goldens/fromjson_object_later_keys_invalid.golden
test/goldens/fromjson_phantom_inner_invalid.golden
test/goldens/fromjson_phantom_inner_missing.golden
test/goldens/fromjson_phantom_invalid.golden
test/goldens/fromjson_scalar_invalid.golden
test/goldens/fromjson_union_invalid.golden
test/goldens/getqq_empty_expression.golden
test/goldens/getqq_no_operators.golden
test/goldens/getqq_ops_after_list.golden
test/goldens/getqq_ops_after_tuple.golden
test/goldens/ghc/9.4/getqq_missing_key.golden
test/goldens/ghc/9.6/getqq_missing_key.golden
test/goldens/ghc/9.8/getqq_missing_key.golden
test/goldens/ghc/9.9/getqq_missing_key.golden
test/goldens/README_Quickstart.golden
test/goldens/schemaqq_key_with_invalid_character.golden
test/goldens/schemaqq_key_with_trailing_escape.golden
test/goldens/sumtype_decode_invalid.golden
test/goldens/unwrapqq_unwrap_past_list.golden
test/goldens/unwrapqq_unwrap_past_tuple.golden
test/wont-compile/GetMissingKey.hs
source-repository head
type: git
location: https://github.com/brandonchinn178/aeson-schemas
library
exposed-modules:
Data.Aeson.Schema
Data.Aeson.Schema.Internal
Data.Aeson.Schema.Key
Data.Aeson.Schema.TH
Data.Aeson.Schema.Type
Data.Aeson.Schema.Utils.All
Data.Aeson.Schema.Utils.Compat
Data.Aeson.Schema.Utils.Invariant
Data.Aeson.Schema.Utils.NameLike
Data.Aeson.Schema.Utils.Sum
other-modules:
Data.Aeson.Schema.TH.Enum
Data.Aeson.Schema.TH.Get
Data.Aeson.Schema.TH.Getter
Data.Aeson.Schema.TH.Parse
Data.Aeson.Schema.TH.Schema
Data.Aeson.Schema.TH.Unwrap
Data.Aeson.Schema.TH.Utils
hs-source-dirs:
src
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wnoncanonical-monad-instances -Wunused-packages
build-depends:
aeson <3
, base >=4.17 && <5
, first-class-families <0.9
, hashable <1.5
, megaparsec <10
, template-haskell <2.22
, text <2.2
, unordered-containers <0.3
default-language: Haskell2010
test-suite aeson-schemas-test
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Tests.EnumTH
Tests.GetQQ
Tests.GetQQ.TH
Tests.MkGetter
Tests.Object
Tests.Object.Eq
Tests.Object.FromJSON
Tests.Object.FromJSON.TH
Tests.Object.Show
Tests.Object.Show.TH
Tests.Object.ToJSON
Tests.Quickstart
Tests.SchemaQQ
Tests.SchemaQQ.TH
Tests.SumType
Tests.UnwrapQQ
Tests.UnwrapQQ.TH
TestUtils
TestUtils.Arbitrary
TestUtils.DeepSeq
Paths_aeson_schemas
hs-source-dirs:
test
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wnoncanonical-monad-instances -Wunused-packages
build-depends:
QuickCheck
, aeson
, aeson-qq >=0.8.4
, aeson-schemas
, base
, deepseq
, filepath
, hint
, interpolate
, process
, raw-strings-qq
, tasty
, tasty-golden
, tasty-hunit
, tasty-quickcheck >=0.8.1
, template-haskell
, temporary
, text
, th-orphans
, th-test-utils
default-language: Haskell2010
if impl(ghc < 9.2)
build-depends:
hint <0.9.0.6
benchmark aeson-schemas-bench
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Benchmarks.Data.Objects
Benchmarks.Data.Schemas
Benchmarks.Data.Schemas.TH
Benchmarks.FromJSON
Benchmarks.SchemaQQ
Benchmarks.Show
Benchmarks.ToJSON
Utils.DeepSeq
Paths_aeson_schemas
hs-source-dirs:
bench
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wnoncanonical-monad-instances -Wunused-packages
build-depends:
aeson
, aeson-schemas
, base
, criterion
, deepseq
, template-haskell
, th-test-utils
default-language: Haskell2010