Is there any way to parse a JSON response in Boxee? JSON is supported in Python 2.6 but Boxee ships with 2.4.5.
Is there any way to parse a JSON response in Boxee? JSON is supported in Python 2.6 but Boxee ships with 2.4.5.
Try simplejson? http://code.google.com/p/simplejson/
Appears to work in Python 2.4. I have no experience with python or simplejson...
Thanks, but I don't see any way to distribute a library with an app.
I guess I could inline the whole decode.py if that is standalone...
Last edited by andyw8; April 29th, 2009 at 03:17 PM.
hey hey,
we actually include simplejson in the boxee distribution (and use it in pandora for example).
so just go ahead and import it in your python code in the xml or the outside python libraries - it will work.
let me know if you have any problems with it.
idan
You won't have any problems including it in the plugin if you rename it. Good to know that it's out there. I've been developing on Windows, and being able to use JSON just made my life a whole lot easier.
Bookmarks