Method UseJsonReader
- Namespace
- RuleWright.Execution
- Assembly
- RuleWright.Execution.dll
UseJsonReader(IRuleJsonReader)
Sets the JSON reader adapter used by LoadRuleSet(string). Required before loading JSON; engines built without one can still load domain RuleSet instances directly.
public RuleWrightBuilder UseJsonReader(IRuleJsonReader reader)
Parameters
readerIRuleJsonReaderThe adapter, e.g.
SystemTextJsonReader.
Returns
Exceptions
- ArgumentNullException
readeris null.