diff options
author | Paul Joseph Davis <davisp@apache.org> | 2009-08-21 22:11:17 +0000 |
---|---|---|
committer | Paul Joseph Davis <davisp@apache.org> | 2009-08-21 22:11:17 +0000 |
commit | 4143b6805cddf61dfd0d43b712b598705bca1933 (patch) | |
tree | 57681015cfd6b9731386df9d052b9243796513b7 /share/www/_sidebar.html | |
parent | 678512dcabec2a54071ed63ed786c4c0c3f1d647 (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 'share/www/_sidebar.html')
0 files changed, 0 insertions, 0 deletions