Portability of ns keywords

To learn how to deal with namespace conflicts in keys destructuring, see the Namespaced keys section here: https://clojure.org/guides/destructuring

For JSON roundtrips, you’ll need to create a custom scheme with your serializer. Like turn “/” into “_” or some sort. This guide has suggestions for it: https://purelyfunctional.tv/mini-guide/json-serialization-api-clojure/

Also see this old clojureverse convo around it: Should we really use Clojure's syntax for namespaced keys?

2 Likes