Skip to content
Browse files

need to add encode-str to :require

  • Loading branch information...
1 parent 2839e15 commit 93ebb793a1e6c1e6c18b41a71915c9669045f6ef @dakrone committed
Showing with 1 addition and 1 deletion.
  1. +1 −1
@@ -140,7 +140,7 @@ namespace change)
;; things to be encoded:
(ns myns
(:require [cheshire.core :refer :all]
- [cheshire.generate :refer [add-encoder remove-encoder]]))
+ [cheshire.generate :refer [add-encoder encode-str remove-encoder]]))
;; First, add a custom encoder for a class:
(add-encoder java.awt.Color

0 comments on commit 93ebb79

Please sign in to comment.
Something went wrong with that request. Please try again.