pugs-DrIFT-2.2.3.20150815: DrIFT with pugs-specific rules.

Safe HaskellNone
LanguageHaskell98

DrIFT.JSON

Documentation

class Show a => JSON a where Source

Minimal complete definition

Nothing

Methods

showJSON :: a -> String Source

Instances

JSON Bool 
JSON Double 
JSON Int 
JSON Integer 
JSON Rational 
JSON Word 
JSON String 
JSON () 
JSON ByteString 
JSON ByteString 
JSON a => JSON [a] 
JSON a => JSON (Maybe a) 
(JSON a, JSON b) => JSON (a, b) 
(JSON a, JSON b, JSON c) => JSON (a, b, c) 

showJSObj :: (a -> String) -> JSONClass -> a -> String Source