Serialization
Table of Contents
Namespaces
- Snapshots
Classes
- ArrayHydrator
- Builds DTOs from plain arrays (the inverse of ArrayNormalizer).
- ArrayNormalizer
- Converts DTOs into plain arrays (scalars only) for JSON, storage and APIs.
- JsonSchemaGenerator
- Generates the JSON Schema (draft 2020-12) of InvoiceData::toArray() from the constructor
signatures and mapping attributes, so that the schema never drifts from the model.
- JsonSchemaValidator
- Validates JSON input against the shipped invoice schema before hydration
(requires the optional package opis/json-schema).