marvin-0.1.4: A modular chat bot

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