From 68dae64556c970555317a21bcaae2bf0e1ee2cf4 Mon Sep 17 00:00:00 2001 From: Stuart Sierra Date: Tue, 12 May 2009 20:15:39 +0000 Subject: json/read.clj: doc string --- src/clojure/contrib/json/read.clj | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/clojure/contrib/json') diff --git a/src/clojure/contrib/json/read.clj b/src/clojure/contrib/json/read.clj index 1f449d10..4cb40cf4 100644 --- a/src/clojure/contrib/json/read.clj +++ b/src/clojure/contrib/json/read.clj @@ -40,7 +40,11 @@ implementation of JSON as described at json.org, not a full-fledged JavaScript parser. JavaScript functions and object constructors are not supported. Object field names must be quoted strings; they - may not be bare symbols.", + may not be bare symbols. + + If you want to convert map keys from strings to keywords, use + clojure.contrib.walk/keywordize-keys +", :see-also [["http://www.json.org", "JSON Home Page"]]} clojure.contrib.json.read (:import (java.io PushbackReader StringReader EOFException)) -- cgit v1.2.3-18-g5258