Share via


IJsonLoadObserver Interface

Definition

Observer for Newtonsoft.Json.JsonConverter instances. Handles notifications around the object loading lifecycle, including the ability to intercept and provide alternate values to be considered by the converters.

public interface IJsonLoadObserver
type IJsonLoadObserver = interface
Public Interface IJsonLoadObserver
Derived

Methods

OnAfterLoadToken<T>(SourceContext, SourceRange, JToken, T, T)

Notifies IConverterObserver instances after type-loading a Newtonsoft.Json.Linq.JToken into the provided instance of T.

OnBeforeLoadToken<T>(SourceContext, SourceRange, JToken, T)

Notifies IConverterObserver instances before type-loading a Newtonsoft.Json.Linq.JToken.

Applies to