freckle-app-1.23.0.1: Haskell application toolkit used at Freckle
Safe HaskellNone
LanguageGHC2021

Freckle.App.Json.Empty

Description

Aeson represents

Synopsis

Documentation

data Empty Source #

A unit value encoded as an empty JSON object

Useful as the response body of a POST request when the server doesn't need to return anything.

(One would expect to be able to use () for this, but Aeson encodes unit as an empty list, not as an object.)

Constructors

Empty