JSON Logic Tester

Evaluate complex rules against JSON data using the shared JSON Logic format.

Result will appear here

LOGS / ERRORS

💡 Example Rules

Check value:
{ "==" : [ { "var" : "score" }, 100 ] }
Logic gate:
{ "and" : [ { ">" : [ { "var" : "age" }, 18 ] }, { "==" : [ { "var" : "active" }, true] }\s*] }
Conditional:
{ "if" : [ { "var" : "user.vip" }, "Gold", "Silver" ] }
Math:
{ "*" : [ { "var" : "price" }, 0.9 ] }