• Internal

    This matches the corresponding Haskell function in lbr-prelude.

    Parameters

    • title: string
    • fields: Value[]

    Returns Value

    Example

    jsonConstructor(title, fields) produces a JSON value as follows

    { "fields" : <fields>
    , "name" : <title>
    }

    where <title> and <fields> are the parameters passed into the function.

Generated using TypeDoc