i-complex / serializer
Library for (de-)serializing data of any complexity; supports XML, and JSON.
Fund package maintenance!
goetas
Requires
- php: ^7.2||^8.0
- doctrine/annotations: ^1.13 || ^2.0
- doctrine/instantiator: ^1.0.3 || ^2.0
- doctrine/lexer: ^1.1 || ^2
- jms/metadata: ^2.6
- phpstan/phpdoc-parser: ^0.4 || ^0.5 || ^1.0
Requires (Dev)
- ext-pdo_sqlite: *
- doctrine/coding-standard: ^8.1
- doctrine/orm: ~2.1
- doctrine/persistence: ^1.3.3|^2.0|^3.0
- doctrine/phpcr-odm: ^1.3|^2.0
- jackalope/jackalope-doctrine-dbal: ^1.1.5
- ocramius/proxy-manager: ^1.0|^2.0
- phpbench/phpbench: ^1.0
- phpstan/phpstan: ^1.0.2
- phpunit/phpunit: ^8.5.21||^9.0||^10.0
- psr/container: ^1.0|^2.0
- symfony/dependency-injection: ^3.0|^4.0|^5.0|^6.0
- symfony/expression-language: ^3.2|^4.0|^5.0|^6.0
- symfony/filesystem: ^3.0|^4.0|^5.0|^6.0
- symfony/form: ^3.0|^4.0|^5.0|^6.0
- symfony/translation: ^3.0|^4.0|^5.0|^6.0
- symfony/uid: ^5.1|^6.0
- symfony/validator: ^3.1.9|^4.0|^5.0|^6.0
- symfony/yaml: ^3.3|^4.0|^5.0|^6.0
- twig/twig: ~1.34|~2.4|^3.0
Suggests
- doctrine/collections: Required if you like to use doctrine collection types as ArrayCollection.
- symfony/cache: Required if you like to use cache functionality.
- symfony/uid: Required if you'd like to serialize UID objects.
- symfony/yaml: Required if you'd like to use the YAML metadata format.
- dev-master / 3.x-dev
- 2.x-dev
- 1.x-dev
- 0.1.0
- dev-mixed-type-definitions
- dev-rever-null-metadata
- dev-float-decimals
- dev-nested-groups
- dev-use-new-metadata
- dev-groups-name
- dev-twig
- dev-positional-attributes
- dev-kunicmarko20-deserialize_null
- dev-nullable-type-def
- dev-emulate-v1-groups
- dev-extract-prop-exclusion
- dev-InheritanceSameProprietyName
- dev-generated-hydrator
- dev-type-def-value-object
- dev-working-compiled-navigator
This package is not auto-updated.
Last update: 2024-11-22 04:01:28 UTC
README
Introduction
This library allows you to (de-)serialize data of any complexity. Currently, it supports XML and JSON.
It also provides you with a rich tool-set to adapt the output to your specific needs.
Built-in features include:
- (De-)serialize data of any complexity; circular references and complex exclusion strategies are handled gracefully.
- Supports many built-in PHP types (such as dates, intervals)
- Integrates with Doctrine ORM, et. al.
- Supports versioning, e.g. for APIs
- Configurable via XML, YAML, or Annotations
Documentation
Learn more about the serializer in its documentation.
Notes
You are browsing the code for the 3.x version, if you are interested in the 1.x or 2.x version, check the 1.x and 2.x branches.
The version 3.x
is the supported version (master
branch).
The 1.x
and 2.x
versions are not supported anymore.
For the 1.x
and 2.x
branches there will be no additional feature releases.
Security issues will be fixed till the 1st January 2020 and
only critical bugs might receive fixes until the 1st September 2019.
Instructions on how to upgrade to 3.x are available in the UPGRADING document.
Professional Support
For eventual paid support please write an email to goetas@gmail.com.