zarathustra/jsonapi-serializer

A PHP Serializer following the JSON API specification.

Maintainers

Package info

github.com/zarathustra323/jsonapi-serializer

pkg:composer/zarathustra/jsonapi-serializer

Statistics

Installs: 295

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 0

dev-master 2015-09-16 14:27 UTC

This package is auto-updated.

Last update: 2026-03-13 08:57:30 UTC


README

A PHP Serializer following the JSON API specification.

http://jsonapi.org/format/

Entity and Field Metadata:

  • Defines how an entire entity and it's fields should be serialized
  • Defines how data should be formatted
  • Instructs how the data will be converted into JSON API spec format

Handled data formats:

  • An associative array
  • An object with public properties
  • An object with getters/setters