runxc1 / MicroRuleEngine

A .Net Rule Engine for dynamically evaluating business rules compiled on the fly.
MIT License
185 stars 74 forks source link

Question on Json #11

Closed ursg004 closed 5 years ago

ursg004 commented 6 years ago

is it possible to use the rule engine against a json document using json rule ?

jamescurran commented 6 years ago

I'm unclear about which you mean by a "json rule" (or a "json document" for that matter).

The object being testing must be a POCO object. That could be a deserialized JSON object.

runxc1 commented 5 years ago

As @jamescurran points out the Rule Engine works against C# objects so anything in JSON would have to be deserialized to a C# object.