Table of Contents

Namespace RuleWright.Json.NewtonsoftJson

Classes

NewtonsoftJsonFacts

Helpers for using Newtonsoft.Json payloads as dynamic facts: converts a Newtonsoft.Json.Linq.JToken object into the IDictionary<string, object> shape the engine's interpreter evaluates (reported as Interpreted). Uses the same number policy as the System.Text.Json adapter, so a JSON payload produces the same fact through either library.

NewtonsoftJsonReader

IRuleJsonReader adapter backed by Newtonsoft.Json. Comments and trailing commas are tolerated so hand-written rule files stay pleasant to edit, and automatic date parsing is disabled so date-like strings stay strings — matching the System.Text.Json adapter exactly.