diff --git a/README.md b/README.md index 58f0256..8979db6 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,7 @@ But in this case only serialization is available because JSON does not contain t # Nullable reference type support STJ has build in support of [`required`](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/required) properties, but it just check, that value exists in JSON on deserialization and does not prevent setting `null` to none nullable properties. Fluent Api can configure `JsonSerializerOptions` to respect NRT annotations on fields and properties. Internally it uses [JsonPropertyInfo.Set](https://learn.microsoft.com/en-us/dotnet/api/system.text.json.serialization.metadata.jsonpropertyinfo.set) property and reduces deserialization performance. +STJ will implement full NRT support in [.net9](https://github.com/dotnet/runtime/issues/100144) ```C# builder.RespectNullableReferenceType(); @@ -259,4 +260,4 @@ enum A Output: ```JS ["f",null,"third",8] -``` \ No newline at end of file +```