Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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
ToJSON a => ToJSON (TypeAnnotated a) | |
FromJSON a => FromJSON (TypeAnnotated a) | |
ToObject a => ToObject (TypeAnnotated a) | |
LogItem a => LogItem (TypeAnnotated a) |
Exported for benchmarking
deannotateValue :: Value -> Value Source