<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />

IValueProvider

public interface IValueProvider
Provides methods to get and set values.
using System; using System; namespace Newtonsoft.Json.Serialization { public class ErrorEventArgs : EventArgs { public object CurrentObject { get; } = currentObject; public ErrorContext ErrorContext { get; } = errorContext; public ErrorEventArgs(object currentObject, ErrorContext errorContext) { } } }