refactor: replace aeson ToJSON/FromJSON with json-fleece schemas
- RecipeSearchEntry: replace genericToJSON ToJSON with Fleece schema using object combinators (required, optionalNullable, list text) - SchemaOrgRecipe: replace manual FromJSON instance with Fleece decoder that reuses existing helper functions for quirky fields - Html.hs: use Fleece.Aeson.Encoder.encode instead of Data.Aeson.encode - stack.yaml: add shrubbery + json-fleece extra-deps - package.yaml: add json-fleece-aeson + json-fleece-core deps - Remove unused LANGUAGE pragmas and redundant brackets
This commit is contained in:
+40
-1
@@ -3,7 +3,46 @@
|
||||
# For more information, please see the documentation at:
|
||||
# https://docs.haskellstack.org/en/stable/topics/lock_files
|
||||
|
||||
packages: []
|
||||
packages:
|
||||
- completed:
|
||||
name: shrubbery
|
||||
pantry-tree:
|
||||
sha256: e9a7f795ed04b76955303132edcce72210bd646c6c9e1ee5dd930a63f2533aab
|
||||
size: 2924
|
||||
sha256: 77d0c3be3bb32ae48297881f937d7bb72a50423a9ebe27e962fc7bfb9c980b00
|
||||
size: 30242
|
||||
subdir: .
|
||||
url: https://github.com/flipstone/shrubbery/archive/1847db5c280357ff341b5909250981b8c303f444.tar.gz
|
||||
version: 0.2.3.2
|
||||
original:
|
||||
subdir: .
|
||||
url: https://github.com/flipstone/shrubbery/archive/1847db5c280357ff341b5909250981b8c303f444.tar.gz
|
||||
- completed:
|
||||
name: json-fleece-core
|
||||
pantry-tree:
|
||||
sha256: f17d0fe31bb3503b0f4566f256cc040e797800871544b26b3f7a4ecd75128022
|
||||
size: 491
|
||||
sha256: 0af34870fde6550c5be93bec6e471c27c7f358d796e5817ae284b37269f527a1
|
||||
size: 3079817
|
||||
subdir: json-fleece-core
|
||||
url: https://github.com/flipstone/json-fleece/archive/f2df040dee441a25dd1bbdc8bcf939bf04c74875.tar.gz
|
||||
version: 0.11.0.1
|
||||
original:
|
||||
subdir: json-fleece-core
|
||||
url: https://github.com/flipstone/json-fleece/archive/f2df040dee441a25dd1bbdc8bcf939bf04c74875.tar.gz
|
||||
- completed:
|
||||
name: json-fleece-aeson
|
||||
pantry-tree:
|
||||
sha256: c1204bd17604272fdcdff26ea9e7b932c3bd311acaad307835a37eb3038566f5
|
||||
size: 628
|
||||
sha256: 0af34870fde6550c5be93bec6e471c27c7f358d796e5817ae284b37269f527a1
|
||||
size: 3079817
|
||||
subdir: json-fleece-aeson
|
||||
url: https://github.com/flipstone/json-fleece/archive/f2df040dee441a25dd1bbdc8bcf939bf04c74875.tar.gz
|
||||
version: 0.5.0.0
|
||||
original:
|
||||
subdir: json-fleece-aeson
|
||||
url: https://github.com/flipstone/json-fleece/archive/f2df040dee441a25dd1bbdc8bcf939bf04c74875.tar.gz
|
||||
snapshots:
|
||||
- completed:
|
||||
sha256: abc790b571e0c70e929db74b329e3c18d7e76a6e173e8bdf94f1ba20770d4c24
|
||||
|
||||
Reference in New Issue
Block a user