Fork me on GitHub
#beginners
<
2024-02-08
>
Felix Dorner11:02:32

Can I use malli to define rules about json data? I’m not even using clojure in that context: Folks here use json schema, but that only brings you so far. And the tooling isnt great either. So maybe clojure/malli can come to the rescue?

teodorlu11:02:18

> Can I use malli to define rules about json data? Yes. With Malli, you can write a spec for Clojure data. If you have JSON, you can parse to Clojure data, then spec with malli.

teodorlu11:02:40

See also the #CLDK6MFMK channel.

Felix Dorner12:02:01

Yeah that’s how I imagined. I’ll look through this and make it work!

👍 1