drasil-data-formats-0.0.1: A framework for code and document generation for scientific software
Safe HaskellSafe-Inferred
LanguageHaskell2010

Drasil.Data.Formats.JSON.Render

Contents

Synopsis

Rendering

data JSONRenderOptions Source #

Options for rendering JSON.

data JSONStyle Source #

JSON Style: How the overall JSON document is formatted.

Constructors

Minified

With as few characters as possible and no newlines.

Pretty Natural

In a "pretty" human readable way, with given indent size.

renderJSON :: JSONRenderOptions -> JSON -> Doc ann Source #

Render JSON to a Doc with the given options.