marvin-0.2.5: A framework for modular, portable chat bots.

Copyright(c) Justus Adam 2016
LicenseBSD3
Maintainerdev@justus.science
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Marvin.Util.JSON

Description

This is provisionary, this might get properly wrapped at some point.

Synopsis

Documentation

readJSON :: (MonadIO m, FromJSON a) => FilePath -> m (Either String a) Source #

Read a file containing JSON encoded data

writeJSON :: (MonadIO m, ToJSON a) => FilePath -> a -> m () Source #

Write some data to a file using JSON serialization

module Data.Aeson