name: json5hs version: 0.1.0.0 x-revision: 1 synopsis: Serialising to and from JSON5 description: The JSON5 Data Interchange Format (JSON5) is a superset of JSON that aims to alleviate some of the limitations of JSON by expanding its syntax to include some productions from ECMAScript 5.1. . This library provides a parser and pretty printer for converting between Haskell values and JSON5. category: Web, Text, JSON5 license: BSD3 license-file: LICENSE author: Yang X. Nan maintainer: sakamitz@yahoo.co.jp Copyright: 2019 Yang X. Nan cabal-version: >= 1.6 build-type: Simple source-repository head type: git location: https://github.com/sakamitz/json5hs.git flag split-base default: True description: Use the new split base package. flag pretty default: True description: Add support for using pretty printing combinators. flag generic default: True description: Add support for generic encoder. flag mapdict default: False description: Encode Haskell maps as JSON dicts library exposed-modules: Text.JSON5, Text.JSON5.Types, Text.JSON5.String ghc-options: -Wall -O2 if flag(split-base) if flag(generic) build-depends: base >=4 && <5, syb >= 0.3.3 exposed-modules: Text.JSON5.Generic Cpp-Options: -DBASE_4 else build-depends: base >= 3 build-depends: array, containers, bytestring, mtl, text if flag(pretty) build-depends: pretty exposed-modules: Text.JSON5.Pretty else build-depends: base < 3 if flag(mapdict) cpp-options: -DMAP_AS_DICT