Serialization Groups

Configures serialization with normalizationContext/denormalizationContext and #[Groups] in API Platform — per-operation contexts, #[Context] per-property overrides, and read/write group naming. Use when the user mentions serialization groups, #[Groups], normalizationContext, denormalizationContext, hiding/exposing fields per operation, write-only or read-only properties, controlling embedded relation depth, or 'why is this field showing up / missing' in the JSON output.

api-platform Updated 29 repo stars

File contents

api-platform/skillset commit 0000cdd0c0

Frequently asked questions

npx get-skill add api-platform/serialization-groups