Skip to content

Add max-waters/jsonapi to implementations#1803

Open
max-waters wants to merge 1 commit into
json-api:gh-pagesfrom
max-waters:gh-pages
Open

Add max-waters/jsonapi to implementations#1803
max-waters wants to merge 1 commit into
json-api:gh-pagesfrom
max-waters:gh-pages

Conversation

@max-waters

@max-waters max-waters commented Oct 21, 2025

Copy link
Copy Markdown

max-waters/jsonapi is a Go package for marshaling and unmarshaling Go structs to and from JSON:API formatted JSON.

Source: https://github.com/max-waters/jsonapi
Go docs: https://pkg.go.dev/github.com/max-waters/jsonapi

Features:

  • Struct tags define the mapping between struct fields and the JSON:API id, attributes, relationships and metadata.
  • Supports anonymous/embedded struct fields.
  • Marshaling and unmarshaling behaviour can be customised by implementing the ResourceMarshaler and ResourceUnmarshaler interfaces, respectively.
  • Exposes an API similar to the standard encoding/json package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants