       (clojure.edn/read-string s))))
 
 (defn java-json->clj-json
-  "Given a MarkLogic XCC JSON object, returns a Clojure representation
-  of its JSON data."
+  "Given a MarkLogic XCC JSON object, returns a Clojure representation of its JSON data."
   [java-json]
   (json/read-str (.toString (.asJsonNode java-json))))
 

(def ->transaction-mode
  "Mapping of keywords to valid Session transaction modes. See
  https://docs.marklogic.com/javadoc/xcc/com/marklogic/xcc/Session.TransactionMode.html"
  {:auto Session$TransactionMode/AUTO
   :query Session$TransactionMode/QUERY
   :update Session$TransactionMode/UPDATE
   :update-auto-commit Session$TransactionMode/UPDATE_AUTO_COMMIT})



  Variables may be passed as a map of Strings or with String names
  corresponding to maps describing the variable using mandatory key
  `:value` and optional keys `:namespace` and `:type`.`

  See https://docs.marklogic.com/javadoc/xcc/com/marklogic/xcc/ModuleSpawn.html"
  ([session module]
   (spawn-module session module {}))
