servant-hateoas-0.2.1: HATEOAS extension for servant
Safe HaskellSafe-Inferred
LanguageGHC2021

Servant.Hateoas.Some

Synopsis

Documentation

data SomeToJSON f where Source #

Existential for types that can be converted ToJSON.

Constructors

SomeToJSON :: ToJSON a => a -> SomeToJSON f 

Instances

Instances details
ToJSON (SomeToJSON f) Source # 
Instance details

Defined in Servant.Hateoas.Some