This library provides serialize()
and deserialize()
methods for normal JSON format.
Insert this external repository in your composer.json
file:
"repositories": [
...,
{
"type": "vcs",
"url": "https://github.com/facile-it/json-api-php.git"
}
]
Run composer require facile/json-api-php
.
Use Facile\JsonApiPhp\Serialization\JsonApiSerializer
or Facile\JsonApiPhp\Serialization\JsonApiDeserializer
in order to import and use the functionality.