ExpandedJsonAttributes is a library that is written for .Net 7 and .Net 8.
It provides modifiers for validating attributes that inherit ValidationAttribute.
The modifiers should be added to a System.Text.Json.JsonSerializerOptions for use with System.Text.Json.JsonSerializer.
The modifers should be added to a System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.
The System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver should be added to either System.Text.Json.JsonSerializerOptions.TypeInfoResolver or System.Text.Json.JsonserializerOptions.TypeInfoResolverChain.