what's wrong with turning it into a list? If you gzip it it won't be
that big.

On Aug 25, 5:16 pm, John Baker <j...@jdiligence.com> wrote:
> I need to json serialize some very large objects which include large
> arrays. How can I do this in django? The arrays will be very big and
> heavily processed before so need to use efficient array storage.
>
> Testing with arrays I get..
>
> TypeError at /zeros/
>
> array([ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.]) is not JSON
> serializable
>
> What would you recommend I do to support arrays?
>
> Thanks in advance,
> John
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to