fortran-src-extras-0.3.1: Common functions and utils for fortran-src.
Safe HaskellNone
LanguageHaskell2010

Language.Fortran.Extras.JSON.Supporting

Description

Aeson instances for "small" definitions used in representing Fortran code.

Orphan instances

ToJSON FortranVersion Source # 
Instance details

ToJSON Position Source # 
Instance details

ToJSON SrcSpan Source # 
Instance details

(ToJSON (t a), ToJSON a) => ToJSON (AList t a) Source # 
Instance details

Methods

toJSON :: AList t a -> Value #

toEncoding :: AList t a -> Encoding #

toJSONList :: [AList t a] -> Value #

toEncodingList :: [AList t a] -> Encoding #

(ToJSON a, ToJSON (t1 a), ToJSON (t2 a)) => ToJSON (ATuple t1 t2 a) Source # 
Instance details

Methods

toJSON :: ATuple t1 t2 a -> Value #

toEncoding :: ATuple t1 t2 a -> Encoding #

toJSONList :: [ATuple t1 t2 a] -> Value #

toEncodingList :: [ATuple t1 t2 a] -> Encoding #