katip-elasticsearch-0.3.0.2: ElasticSearch scribe for the Katip logging framework.

Safe HaskellNone
LanguageHaskell2010

Katip.Scribes.ElasticSearch.Annotations

Contents

Synopsis

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

typeAnnotatedValue :: a
 

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