-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
It would be nice to have a collection of predicates for asserting things about data in file formats like JSON and YAML. Something like:
-- Parsing combinators
inJSON :: Predicate Aeson.Value -> Predicate ByteString
inYAML :: Predicate Aeson.Value -> Predicate ByteString
-- JSON-typed comparisons
aesonArray :: Predicate [Aeson.Value] -> Predicate Aeson.Value
aesonObject :: Predicate (HashMap Text Aeson.Value) -> Predicate Aeson.Value
aesonNumber :: Predicate Scientific -> Predicate Aeson.Value
aesonText :: Predicate Text -> Predicate Aeson.Value
aesonBool :: Predicate Bool -> Predicate Aeson.Value
aesonNull :: Predicate Aeson.Value
-- Tree search
containsAeson :: Predicate Aeson.Value -> Predicate Aeson.Value
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers