Yes.
The brackets are being added by the browser.
I sent the dict from controller as return dict(mydict=D).
Then jsonified it & rendered in view.
It is without [ ].

Is there any way we can prevent browser from adding the [ ]

-- Vineet

On Feb 15, 8:05 pm, Anthony <[email protected]> wrote:
> > How? I guess that's where the problem is. I doubt simplejson is adding
> > the [...]
>
> When I tried it, simplejson did not add the brackets, so maybe the brackets
> are getting added in the browser somehow.
>
> Anthony

Reply via email to