Skip to content

Release v7.16.8

Choose a tag to compare

@github-actions github-actions released this 01 Aug 19:38
f56506f

Summary

A collection field that is absent from the payload no longer deserializes to undefined behind a type that says it is an array.

Fixed

  • JsonSerializer gives a field declared as a collection an empty array when the property is missing from the payload, instead of undefined. Producers legitimately omit empty collections, so readers previously needed a null guard on every collection to work around a value that contradicted its own declared type. An explicit null still deserializes as null.