I've found the native Python JSON library about the easiest to use out
there.

http://docs.python.org/library/json.html


On May 4, 10:34 am, zweb <traderash...@gmail.com> wrote:
> Is there a django or python equivalent of php json_encode?
>
> the data I am converting to json has text fields that have quotes,
> double quotes, newlines and html tags. Creating json manually in my
> program without escaping or converting these special characters is
> causing problem on javascript side.
>
> A php programmer suggested I use equivalent of php json_encode.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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