Jeremy Wadhams

Results 57 comments of Jeremy Wadhams

I can work on this, you're right it's going to make the library more robust. In the meantime you might be able to make your rules more robust by using...

I'm using the living heck out of it with Angular 1. It's probably not terribly idiomatic, but most of the Angular interaction has something like this in the controller: `$scope.jsonLogic...

Sorry for the slow response. This is totally doable, did you mean to open this issue on the PHP interpreter? https://github.com/jwadhams/json-logic-php/issues

Wow, my sincere apologies, I didn't understand what you were doing here until I opened the PR, and this is a *really* clever addition to the language. Can you take...

Sorry, what I mean is: I'm about to roll these three operations into the standard JavaScript library. They're in the shared unit tests, lines 291-414: https://github.com/jwadhams/json-logic/blob/gh-pages/tests.json They're listed on the...

Getting started: https://github.com/jwadhams/json-logic-js/wiki/Custom-Operations

I'd also be excited to talk about how jsonLogic can support plugins, like taking those two temp variable functions and making them a standard "chuck it in your project.json and...

I guess there has to be some way to mark the thing to be returned (your whole `or` block) as data. What if we added something like Lisp's `quote` operation?...

The more I think about that the ickier it feels. What if we had a unary quote operator, like: ```js { if: [ { var: A.has_category }, {"'": { or:...