compojure.coercions

Functions for coercing route parameters into different types.

as-int

(as-int s)

Parse a string into an integer, or nil if the string cannot be parsed.

as-uuid

(as-uuid s)

Parse a string into a UUID, or nil if the string cannot be parsed.