citeproc-hs-0.3.10: A Citation Style Language implementation in Haskell

Copyright(c) Andrea Rossato
LicenseBSD-style (see LICENSE)
MaintainerAndrea Rossato <andrea.rossato@unitn.it>
Stabilityunstable
Portabilityunportable
Safe HaskellNone
LanguageHaskell98

Text.CSL.Input.Json

Description

A module for reading Json CSL data.

Synopsis

Documentation

readType :: Data a => JSValue -> Result a Source

Build a datatype from a JSON object. Uses selectFields which allows to provied default values for fields not present in the JSON object. Useble with non algebraic datatype with record fields.