Module Json

This module is undocumented. This is a list of its definitions.

(:::) :: JSCompatible a => String -> a -> JSEntry

key ::: value is the JSON object entry that associates key with value.

JSArray :: [JSValue] -> JSValue
JSBoolean :: Boolean -> JSValue
JSEntry :: String -> JSValue -> JSEntry
JSNull :: JSValue
JSNumber :: String -> JSValue
JSObject :: [JSEntry] -> JSValue
JSString :: String -> JSValue
printJSON :: JSCompatible a => StringBuilder.T -> a -> <Proc> StringBuilder.T

Appends the JSON text of the given value to the given string builder and returns the builder.

toJSONString :: JSCompatible a => a -> String

The JSON text of the given value.

toJSValue :: JSCompatible a => a -> JSValue

The given value as a JSON value.