aeson-json-ast-0.1.1: Integration layer for "json-ast" and "aeson"
Data.Aeson.JSONAST
Contents
Description
This module exports FromJSON and ToJSON instance for JSON, as well as the conversion utilities. All of them bear zero runtime overhead compared to the native Aeson Value, because they are implemented using type coersion.
FromJSON
ToJSON
JSON
Value
jsonToValue :: JSON -> Value Source #
valueToJSON :: Value -> JSON Source #
Methods
toJSON :: JSON -> Value #
toEncoding :: JSON -> Encoding #
toJSONList :: [JSON] -> Value #
toEncodingList :: [JSON] -> Encoding #
parseJSON :: Value -> Parser JSON #
parseJSONList :: Value -> Parser [JSON] #