diff --git a/src/monger/json.clj b/src/monger/json.clj index 780d681..c92e71c 100644 --- a/src/monger/json.clj +++ b/src/monger/json.clj @@ -2,6 +2,10 @@ (:import (org.bson.types ObjectId)) (:require [clojure.data.json :as json])) +;; +;; API +;; + (extend-protocol json/Write-JSON ObjectId (write-json [^ObjectId object out escape-unicode?]