internal static TEnum?GetValue <TEnum>( this NullableMember <TEnum> instance, MissingMemberBehavior missingMemberBehavior ) where TEnum : struct, Enum => instance.Select( value => missingMemberBehavior == MissingMemberBehavior.Error ? Parse <TEnum>(value.GetStringRequired()) : TryHardParse <TEnum>(value.GetStringRequired()) );
internal static bool?GetValue(this NullableMember <bool> instance) => instance.Select(json => json.GetBoolean());
internal static int?GetValue(this NullableMember <int> instance) => instance.Select(json => json.GetInt32());