The generalisation of a JSON object.
Documentation
class JSONLike j s a o | j -> s, j -> a, j -> o whereSource
The generalisation of a JSON object.
:: x | If a JSON null value. |
-> x | If a JSON true value. |
-> x | If a JSON false value. |
-> (Rational -> x) | If a JSON number value. |
-> (s -> x) | If a JSON string value. |
-> (a j -> x) | If a JSON array value. |
-> (o j -> x) | If a JSON object value. |
-> j | |
-> x |
Deconstructs a JSON object.
Constructs a JSON null value.
Constructs a JSON true value.
Constructs a JSON false value.
jnumber :: Rational -> jSource
Constructs a JSON number value from the given rational.
Constructs a JSON string value from the given string.
Constructs a JSON array value from the given array.
Constructs a JSON object value from the given object.
StringMap | |
|