Skip to content
Cinch
← Data.Json API referenceSAMPLE LISTING
cinch-json / 0.2.3Data/Json.cinch

Declaration source.

This sample listing contains the declarations shown in the API reference. Package implementations will appear here when real package data is connected.

module Data.Json where
3-- A null, boolean, number, string, array, or object value.
4data Json
5
6-- A byte offset and description of a malformed JSON document.
7data JsonError
8
9-- Parse a complete JSON document.
10parse :: String -> Result JsonError Json
12-- Render a compact JSON representation.
13render :: Json -> String