json package:json

Support for serialising Haskell to and from JSON JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. This library provides a parser and pretty printer for converting between Haskell values and JSON.
Serialising Haskell values to and from JSON values.
The class of types serialisable to and from JSON
Decode a string as a value.
Encode a value as a string.
Convert a JSON value to anything (fails if the types do not match).
Convert anything to a JSON value.
Parsing JSON The type of JSON parsers for String
Run a JSON reader on an input String, returning some Haskell value. All input will be consumed.