| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Drasil.Data.Formats.JSON.Render
Contents
Synopsis
- data JSONRenderOptions
- data JSONStyle
- jsonRenderOpts :: JSONStyle -> JSONRenderOptions
- renderJSON :: JSONRenderOptions -> JSON -> Doc ann
Rendering
data JSONRenderOptions Source #
Options for rendering JSON.
JSON Style: How the overall JSON document is formatted.
jsonRenderOpts :: JSONStyle -> JSONRenderOptions Source #
Create JSONRenderOptions.
renderJSON :: JSONRenderOptions -> JSON -> Doc ann Source #
Render JSON to a Doc with the given options.