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.
| Versions | 0.3.3, 0.3.6, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.9.1, 0.9.2 |
|---|---|
| Change log | CHANGES |
| Dependencies | array, base, bytestring, containers, mtl, parsec, pretty, syb (>=0.3.3), text [details] |
| License | BSD-3-Clause |
| Copyright | (c) 2007-2009 Galois Inc. |
| Author | Galois Inc. |
| Maintainer | Iavor S. Diatchki ([email protected]) |
| Category | Web |
| Source repo | head: git clone https://github.com/GaloisInc/json.git |
| Uploaded | by IavorDiatchki at Sat Mar 17 19:50:50 UTC 2018 |
| Distributions | Arch:0.9.2, Debian:0.9.1, Fedora:0.9.1, FreeBSD:0.9.1, LTSHaskell:0.9.2, NixOS:0.9.2, Stackage:0.9.2, openSUSE:0.9.2 |
| Downloads | 58461 total (125 in the last 30 days) |
| Rating | (no votes yet) [estimated by rule of succession] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2018-03-18 [all 1 reports] Hackage Matrix CI |
Modules
[Index]
Flags
| Name | Description | Default | Type |
|---|---|---|---|
| split-base | Use the new split base package. | Enabled | Automatic |
| parsec | Add support for parsing with Parsec. | Enabled | Automatic |
| pretty | Add support for using pretty printing combinators. | Enabled | Automatic |
| generic | Add support for generic encoder. | Enabled | Automatic |
| mapdict | Encode Haskell maps as JSON dicts | Disabled | Automatic |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- json-0.9.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)