Copyright | (c) Alex Brandt 2017 |
---|---|
License | MIT |
Safe Haskell | None |
Language | Haskell2010 |
A collection of types and instances for application/vnd.siren+json
.
Full documentation for application/vnd.siren+json
can be found at
https://github.com/kevinswiber/siren.
- data Entity = Entity {}
- data SubEntity
- data Link = Link {}
- data Action = Action {}
- data Field = Field {}
- data InputType
- class FromEntity a where
- class ToEntity a where
Core Data Types
The top-level object for an application/vnd.siren+json
resource.
Entity | |
|
Nested object for an application/vnd.siren+json
.
Link to a related resource.
Type Conversion
class FromEntity a where Source #
A type that can be converted from Entity
.
fromEntity :: Entity -> a Source #