cql2 0.5.5

Parse, validate, and convert Common Query Language (CQL2) text and JSON
Documentation
1
2
3
(floors>5 AND material='brick') OR swimming_pool=true 
(((floors > 5) AND (material = 'brick')) OR (swimming_pool = true))
{"op":"or","args":[{"op":"and","args":[{"op":">","args":[{"property":"floors"},5.0]},{"op":"=","args":[{"property":"material"},"brick"]}]},{"op":"=","args":[{"property":"swimming_pool"},true]}]}