| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Katip.Scribes.ElasticSearch.Annotations
Contents
- newtype TypeAnnotated a = TypeAnnotated {
- typeAnnotatedValue :: a
- deannotateValue :: Value -> Value
Documentation
newtype TypeAnnotated a Source
Represents a value that can be converted to and from JSON that will type annotate object keys when serializing and strip them out when deserializating
Constructors
| TypeAnnotated | |
Fields
| |
Instances
| ToJSON a => ToJSON (TypeAnnotated a) Source | |
| FromJSON a => FromJSON (TypeAnnotated a) Source | |
| ToObject a => ToObject (TypeAnnotated a) Source | |
| LogItem a => LogItem (TypeAnnotated a) Source |
Exported for benchmarking
deannotateValue :: Value -> Value Source