taskwarrior-0.6.0.0: Types and aeson instances for taskwarrior tasks
Safe HaskellNone
LanguageHaskell2010

Taskwarrior.Annotation

Description

Provides the Annotation type with ToJSON and FromJSON instances.

Synopsis

Documentation

data Annotation Source #

A taskwarrior Task can have multiple annotations. They contain a timestamp entry and a description.

Constructors

Annotation 

Fields

Instances

Instances details
Eq Annotation Source # 
Instance details

Defined in Taskwarrior.Annotation

Ord Annotation Source # 
Instance details

Defined in Taskwarrior.Annotation

Read Annotation Source # 
Instance details

Defined in Taskwarrior.Annotation

Show Annotation Source # 
Instance details

Defined in Taskwarrior.Annotation

FromJSON Annotation Source # 
Instance details

Defined in Taskwarrior.Annotation

Methods

parseJSON :: Value -> Parser Annotation

parseJSONList :: Value -> Parser [Annotation]

ToJSON Annotation Source # 
Instance details

Defined in Taskwarrior.Annotation

Methods

toJSON :: Annotation -> Value

toEncoding :: Annotation -> Encoding

toJSONList :: [Annotation] -> Value

toEncodingList :: [Annotation] -> Encoding