[Object object] is the string form of a json object. try JSON.stringify(obj) in your view so you can see what you're emitting by mistake.
On 15 January 2012 06:42, CGS <[email protected]> wrote: > Maybe you should check what you have at that key. It may be it's not what > you expect (maybe it's a null or bad formatted string). > > CGS > > > > On Sun, Jan 15, 2012 at 5:21 AM, Gabriel de Oliveira Barbosa < > [email protected]> wrote: > >> Anyone have a idea why I'm seeing [object Object] where I expect an string >> ? >> I'm running a "_view" with map and reduce that is currently outputting: >> { >> rows: [ >> { >> value: { >> * ip: { [object Object]: 2 }* >> }, >> key: '2012-01-14' >> }, >> { >> value: { >> * ip: { 192.168.1.100: 6 }* >> }, >> key: '2012-01-13' >> } >> ] >> } >> >> In the second row it's working fine, but all the rest are broken. What I'm >> doing wrong ? >>
