microsoft/kiota-serialization-json
JSON serialization library for PHP from Microsoft's Kiota toolchain. Lets Kiota-generated API clients parse and serialize JSON payloads. Install via Composer with microsoft/kiota-serialization-json.
json_decode arrays — a prerequisite for scoping any Microsoft-ecosystem feature.microsoft/kiota-abstractions, an HTTP adapter like microsoft/kiota-http-guzzle, and this JSON serializer) as a bundled commitment, not a single dependency.@odata.type derived objects); serializing DateTime, streams/binary content, and collections without writing custom mappers.kiota-php), so issues/PRs live upstream. That changes how you evaluate support and contribution risk.Consider it when:
Look elsewhere when:
json_decode, Symfony Serializer, or JMS Serializer are far lighter and better documented for general-purpose use.kiota-php monorepo, so this repo is a release artifact, not a collaboration venue.For executives (one paragraph):
Adopting microsoft/kiota-serialization-json is a small, low-cost enabler for a larger decision: whether we generate our Microsoft Graph / OpenAPI clients with Kiota instead of hand-writing them. It's MIT-licensed, Microsoft-maintained, and versioned in lockstep with the rest of the Kiota PHP stack. The real commitment is not this package but the stack around it — abstractions, an HTTP adapter, and a PHP 8.2+ runtime floor. If we pursue Kiota-generated clients, this comes along for free; if we don't, we should skip it entirely.
For engineering (talking points):
microsoft/kiota-abstractions + microsoft/kiota-serialization-json + an HTTP adapter (e.g. microsoft/kiota-http-guzzle, which added Guzzle 8 support in 2.2.0).kiota-php monorepo, and issues/PRs must go there. Judge support by Microsoft's monorepo activity, not this repo's counters.How can I help you explore Laravel packages today?