Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Value :: *
- asValue :: String -> Value
- valueAsRealFloat :: RealFloat a => Value -> a
- asRealFloat :: (RealFloat a, Read a) => String -> a
- valueAsString :: Value -> String
- string :: String -> Value
- number :: RealFloat a => a -> Value
- number' :: String -> Value
- enum :: (Enum a, Show a) => a -> Value
- valueAsEnum :: (Enum a, Read a) => Value -> a
- readTable :: (Attribute r ~ Value, Tuple r) => FilePath -> IO (Table r)
- writeTable :: (Attribute r ~ Value, Tuple r) => FilePath -> Table r -> IO ()
Documentation
A JSON value represented as a Haskell value.
valueAsRealFloat :: RealFloat a => Value -> a Source #
Convert a numeric value.
valueAsString :: Value -> String Source #
Convert to a string value.
Read a table.