need a json representation of all members of any type of object, listor hashtable (php's var_dump)

R

Rene Veerman

hi.

for 2 open source components of mine that are used in debugging, i
would like to capture the output generated by print for any variable.
i'm new to python, so please excuse my noobishness.

i don't know if objects can be json-ed as easy as lists and hash
tables are by print.
and i couldn't find how to capture the output generated by print into
a string, so i can't use it with google appengine :(

i'm in dire need of some expert advise here.

--
---------------------------------
Greetings from Rene7705,

My free open source webcomponents:
  http://code.google.com/u/rene7705/
  http://mediabeez.ws/downloads (and demos)

My music (i'm DJ firesnake)
  http://mediabeez.ws/music

http://www.facebook.com/rene7705
---------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,586
Members
45,084
Latest member
HansGeorgi

Latest Threads

Top