Fork me on GitHub
#clojure-spec
<
2024-04-08
>
ghaskins17:04:24

Hi All. I swear I have done this before, but I cannot find it or an answer on the web: Is there a way to validate that a map adheres to a certain spec for keys and a different spec for values, rather than something like s/keys where I know the keys up front?

ghaskins17:04:45

What I am trying to do specifically is ensure that all the values are valid json strings

ghaskins17:04:33

Yes! ty!

👍 1