Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- encodeFilePretty :: ToJSON a => FilePath -> a -> IO ()
Documentation
encodeFilePretty :: ToJSON a => FilePath -> a -> IO () Source #
Efficiently prettify and serialize a JSON value as a lazy ByteString
and write it to a file.