encode package:json
Encode a Haskell value into a string, in JSON format.
This is a superset of JSON, as types other than Array and Object are
allowed at the top level.
Encode a value as a String in strict JSON format. This follows the
spec, and requires all values at the top level to be wrapped in either
an Array or Object. JSON types to be an Array or Object.
Encode a value as a string.