Skip to content

Latest commit

 

History

History
133 lines (102 loc) · 6.55 KB

README.md

File metadata and controls

133 lines (102 loc) · 6.55 KB

JSONAPI

MIT license Swift 6.0+ Tests

A Swift package for encoding to- and decoding from JSON API compliant requests and responses.

See the JSON API Spec here: https://jsonapi.org/format/

Quick Start

Clientside

Serverside

Client+Server

This library works well when used by both the server responsible for serialization and the client responsible for deserialization. Check out the example.

Table of Contents

Primary Goals

The primary goals of this framework are:

  1. Allow creation of Swift types that are easy to use in code but also can be encoded to- or decoded from JSON API v1.0 Spec compliant payloads without lots of boilerplate code.
  2. Leverage