Back to browse
GitHub Repository

json-logic extended with json-ng paths

5 starsPython

JSON-logic-path – JSON logic with jsonpath multi-value resolution

by anax32·Apr 18, 2026·2 points·0 comments

AI Analysis

●●SolidNiche GemBig Brain

JSONPath `vars` operator handles array queries when standard JsonLogic only does scalar lookups.

Strengths
  • JSONPath `vars` enables fan-in gates across parallel workflow step outputs
  • Backward compatible—existing `var` rules work without modification
  • Python 3.11+ update revives unmaintained json-logic-py reference implementation
Weaknesses
  • Niche audience—JsonLogic itself isn't widely adopted in modern stacks
  • No TypeScript or Go implementations limits cross-language workflow adoption
Target Audience

Backend developers building workflow engines or rule-based systems

Similar To

json-logic-py · json-logic-js · JSONata

Post Description

The reference Python implementation (nadirizr/json-logic-py) hadn't been updated for modern Python. We forked it to fix that, then added a vars operator backed by JSONPath for multi-value resolution -- useful when branch conditions need to evaluate model outputs or array-valued fields.

Not part of the standard; the var operator is unchanged so existing rules work without modification.

Similar Projects

AI/ML●●Solid

EDDI – Multi-agent AI engine where agent logic lives in JSON, not code

JSON-configured agents with cascading model selection and EU AI Act compliance.

Big BrainNiche Gem
ginccc
201mo ago
Developer Tools●●Solid

A diff tool that understands JSON

It parses JSON structures and highlights value changes, type mismatches, and missing properties in a live side-by-side editor while keeping everything client-side — neat for poking at API responses or diffs of exports. The UI gives instant feedback and clear color-coded categories, but it's solving a well-trodden problem and lacks higher-end features like JSON Schema-aware diffs, patch/merge tooling, or CLI/automation hooks.

Solve My ProblemSlick
subhash_k
103mo ago