Use conditions to control route execution
masterJester supports a simple cond template. If the condition evaluates to false, execution passes to the next matching route in the routes block.
routes:
get "/@name":
cond @"name" == "daniel"
# This only executes if @"name" is "daniel"
resp "Correct, my name is daniel."
get "/@name":
# This executes if the previous route's condition failed
resp "No, that's not my name."