<PackageReference Include="System.Text.Json" Version="4.7.0-preview2.19523.17" />

JsonPropertyInfo

abstract class JsonPropertyInfo
public static readonly JsonPropertyInfo s_missingProperty

public bool CanBeNull { get; }

public abstract JsonConverter ConverterBase { get; set; }

public Type DeclaredPropertyType { get; }

public Type ElementType { get; set; }

public bool HasGetter { get; set; }

public bool HasInternalConverter { get; }

public bool HasSetter { get; set; }

public bool IgnoreNullValues { get; }

public Type ImplementedPropertyType { get; }

public bool IsNullableType { get; }

public bool IsPropertyPolicy { get; protected set; }

public byte[] JsonPropertyName { get; set; }

public byte[] Name { get; }

public string NameAsString { get; }

protected JsonSerializerOptions Options { get; protected set; }

public Type ParentClassType { get; }

public PropertyInfo PropertyInfo { get; }

public ulong PropertyNameKey { get; set; }

public Type RuntimePropertyType { get; }

public bool ShouldDeserialize { get; }

public bool ShouldSerialize { get; }

protected JsonPropertyInfo()

public static TAttribute GetAttribute<TAttribute>(PropertyInfo propertyInfo) where TAttribute : Attribute

public abstract IList CreateConverterList()

public abstract object CreateDerivedDictionaryInstance(ref ReadStack state, JsonPropertyInfo collectionPropertyInfo, IDictionary sourceDictionary)

public abstract IEnumerable CreateDerivedEnumerableInstance(ref ReadStack state, JsonPropertyInfo collectionPropertyInfo, IList sourceList)

public abstract IDictionary CreateIDictionaryInstance(ref ReadStack state, Type parentType, IDictionary sourceDictionary)

public abstract IEnumerable CreateIEnumerableInstance(ref ReadStack state, Type parentType, IList sourceList)

public abstract IEnumerable CreateImmutableCollectionInstance(ref ReadStack state, Type collectionType, string delegateKey, IList sourceList, JsonSerializerOptions options)

public abstract IDictionary CreateImmutableDictionaryInstance(ref ReadStack state, Type collectionType, string delegateKey, IDictionary sourceDictionary, JsonSerializerOptions options)

public abstract Type GetConcreteType(Type type)

public abstract Type GetDictionaryConcreteType()

public void GetDictionaryKeyAndValue(ref WriteStackFrame writeStackFrame, out string key, out object value)

public abstract void GetDictionaryKeyAndValueFromGenericDictionary(ref WriteStackFrame writeStackFrame, out string key, out object value)

public virtual void GetPolicies()

public abstract object GetValueAsObject(object obj)

public virtual void Initialize(Type parentClassType, Type declaredPropertyType, Type runtimePropertyType, Type implementedPropertyType, PropertyInfo propertyInfo, Type elementType, JsonConverter converter, JsonSerializerOptions options)

protected abstract void OnRead(ref ReadStack state, ref Utf8JsonReader reader)

protected abstract void OnReadEnumerable(ref ReadStack state, ref Utf8JsonReader reader)

protected abstract void OnWrite(ref WriteStackFrame current, Utf8JsonWriter writer)

protected virtual void OnWriteDictionary(ref WriteStackFrame current, Utf8JsonWriter writer)

protected abstract void OnWriteEnumerable(ref WriteStackFrame current, Utf8JsonWriter writer)

public void Read(JsonTokenType tokenType, ref ReadStack state, ref Utf8JsonReader reader)

public void ReadEnumerable(JsonTokenType tokenType, ref ReadStack state, ref Utf8JsonReader reader)

public abstract void SetValueAsObject(object obj, object value)

public void Write(ref WriteStack state, Utf8JsonWriter writer)

public void WriteDictionary(ref WriteStack state, Utf8JsonWriter writer)

public void WriteEnumerable(ref WriteStack state, Utf8JsonWriter writer)