json: Support for serialising Haskell to and from JSON

[ bsd3, library, web ] [ Propose Tags ]

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 [faq] 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, 0.9.3
Change log CHANGES
Dependencies array, base, bytestring, containers, mtl, parsec, pretty, syb (>=0.3.3), text [details]
License BSD-3-Clause
Copyright (c) 2007-2018 Galois Inc.
Author Galois Inc.
Maintainer Iavor S. Diatchki (iavor.diatchki@gmail.com)
Category Web
Source repo head: git clone https://github.com/GaloisInc/json.git
Uploaded by IavorDiatchki at Thu Dec 20 18:03:08 UTC 2018
Distributions Arch:0.9.3, Debian:0.9.2, Fedora:0.9.3, FreeBSD:0.9.1, LTSHaskell:0.9.3, NixOS:0.9.3, Stackage:0.9.3
Downloads 62933 total (348 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-12-20 [all 1 reports]

Modules

[Index] [Quick Jump]

Flags

NameDescriptionDefaultType
split-base

Use the new split base package.

EnabledAutomatic
parsec

Add support for parsing with Parsec.

EnabledAutomatic
pretty

Add support for using pretty printing combinators.

EnabledAutomatic
generic

Add support for generic encoder.

EnabledAutomatic
mapdict

Encode Haskell maps as JSON dicts

DisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees