summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_httpd_view.erl
diff options
context:
space:
mode:
authorPaul Joseph Davis <davisp@apache.org>2009-08-21 22:11:17 +0000
committerPaul Joseph Davis <davisp@apache.org>2009-08-21 22:11:17 +0000
commit4143b6805cddf61dfd0d43b712b598705bca1933 (patch)
tree57681015cfd6b9731386df9d052b9243796513b7 /src/couchdb/couch_httpd_view.erl
parent678512dcabec2a54071ed63ed786c4c0c3f1d647 (diff)
Munge all ErlJSON to use binaries.
Our flavor of ErlJSON has this interesting characteristic: {[{foo, bar}]} == {[{<<"foo">>, <<"bar">>}]} This is fine and dandy for writing ErlJSON that is going to go directly to a serializer, but when it goes to client code executing in couch_native_process.erl it becomes a pain in the but to know whether to use atoms or binaries. This patch munges all input to user functions to use binaries except for null, true, and false obviously. This fixes the commented out test in erlang_views.js as well as adds a show to poke into the request object that has known instances of where things get munged. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@806732 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_httpd_view.erl')
0 files changed, 0 insertions, 0 deletions