News for hackers. Stuff that matters.
Re:JsonLogic – Build complex rules, serialize them as JSON by thom_nic on Monday October 24, 2016 @10:23PM (#12784775)
Allowing user-defined rules comes to mind. AFAIK `eval()`-ing user input is can't be done in a safe way. Probably OK on browser but not on the server.
Re:JsonLogic – Build complex rules, serialize them as JSON by flushot on Tuesday October 25, 2016 @01:05AM (#12785436)
I don't see why a language like JS couldn't be used for evaluating rules when sandboxed. Looks like there's a project that does just that: https://developers.google.com/caja/
Re:JsonLogic – Build complex rules, serialize them as JSON by catnaroek on Monday October 24, 2016 @11:16PM (#12785009)
> Probably OK on browser but not on the server.

Probably OK on someone else's machine but not mine? :-p