<PackageReference Include="System.Text.Json" Version="6.0.8" />

ObjectWithParameterizedConstructorConverter<T>

Implementation of JsonObjectConverter{T} that supports the deserialization of JSON objects using parameterized constructors.

protected abstract object CreateObject(ref ReadStackFrame frame)

protected virtual void EndRead(ref ReadStack state)

protected abstract void InitializeConstructorArgumentCaches(ref ReadStack state, JsonSerializerOptions options)

protected abstract bool ReadAndCacheConstructorArgument(ref ReadStack state, ref Utf8JsonReader reader, JsonParameterInfo jsonParameterInfo)

protected virtual bool TryLookupConstructorParameter(ref ReadStack state, ref Utf8JsonReader reader, JsonSerializerOptions options, out JsonParameterInfo jsonParameterInfo)

Lookup the constructor parameter given its name in the reader.